diff options
author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-27 06:56:23 +0000 |
---|---|---|
committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-05-27 06:56:23 +0000 |
commit | 87fb7bb66daa35dcf1750e2f764da0167ac79938 (patch) | |
tree | c89f976f330ff69ec8f6a05e70b27d160f4d3678 /lib/net/ftp.rb | |
parent | b6299328631a41846dcaff170257a9254536b464 (diff) | |
download | ruby-87fb7bb66daa35dcf1750e2f764da0167ac79938.tar.gz |
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@6419 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib/net/ftp.rb')
-rw-r--r-- | lib/net/ftp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/net/ftp.rb b/lib/net/ftp.rb index 2b94cde234..dfbcf1499f 100644 --- a/lib/net/ftp.rb +++ b/lib/net/ftp.rb @@ -689,7 +689,7 @@ module Net return resp[3..-1].strip.to_i end - MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)$/ # :nodoc: + MDTM_REGEXP = /^(\d\d\d\d)(\d\d)(\d\d)(\d\d)(\d\d)(\d\d)/ # :nodoc: # # Returns the last modification time of the (remote) file. If +local+ is |