Skip to content

Commit 720dc25

Browse files
committed
merge revision(s) 18371:
* lib/net/ftp.rb (chdir): handle 5xx errors correctly. backported from trunk. fixed [ruby-core:18057]. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_6@21427 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
1 parent f67887c commit 720dc25

File tree

3 files changed

+12
-7
lines changed

3 files changed

+12
-7
lines changed

ChangeLog

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,8 @@
1+
Sun Jan 11 11:31:52 2009 Shugo Maeda <shugo@ruby-lang.org>
2+
3+
* lib/net/ftp.rb (chdir): handle 5xx errors correctly.
4+
backported from trunk. fixed [ruby-core:18057].
5+
16
Fri Jan 9 19:22:24 2009 Shugo Maeda <shugo@ruby-lang.org>
27

38
* lib/net/imap.rb (disconnect): do not refer SSL::SSLSocket for

lib/net/ftp.rb

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -664,9 +664,9 @@ def chdir(dirname)
664664
begin
665665
voidcmd("CDUP")
666666
return
667-
rescue FTPPermError
668-
if $![0, 3] != "500"
669-
raise FTPPermError, $!
667+
rescue FTPPermError => e
668+
if e.message[0, 3] != "500"
669+
raise e
670670
end
671671
end
672672
end

version.h

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
#define RUBY_VERSION "1.8.6"
2-
#define RUBY_RELEASE_DATE "2009-01-09"
2+
#define RUBY_RELEASE_DATE "2009-01-11"
33
#define RUBY_VERSION_CODE 186
4-
#define RUBY_RELEASE_CODE 20090109
5-
#define RUBY_PATCHLEVEL 294
4+
#define RUBY_RELEASE_CODE 20090111
5+
#define RUBY_PATCHLEVEL 295
66

77
#define RUBY_VERSION_MAJOR 1
88
#define RUBY_VERSION_MINOR 8
99
#define RUBY_VERSION_TEENY 6
1010
#define RUBY_RELEASE_YEAR 2009
1111
#define RUBY_RELEASE_MONTH 1
12-
#define RUBY_RELEASE_DAY 9
12+
#define RUBY_RELEASE_DAY 11
1313

1414
#ifdef RUBY_EXTERN
1515
RUBY_EXTERN const char ruby_version[];

0 commit comments

Comments
 (0)