diff options
| author | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-22 07:47:36 +0000 |
|---|---|---|
| committer | shugo <shugo@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2004-06-22 07:47:36 +0000 |
| commit | f3f6582f768b9d467e3ee16096daf6e7b7f7f021 (patch) | |
| tree | 6af15e713cc5925269bbcdb47fddf5a6c792bfb8 /lib | |
| parent | 34099f66c9ce52c05e2141432fc100c730f104ad (diff) | |
| download | ruby-f3f6582f768b9d467e3ee16096daf6e7b7f7f021.tar.gz ruby-f3f6582f768b9d467e3ee16096daf6e7b7f7f021.tar.xz ruby-f3f6582f768b9d467e3ee16096daf6e7b7f7f021.zip | |
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
| -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 2b94cde23..dfbcf1499 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 |
