mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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/branches/ruby_1_8@6490 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
9782acebe5
commit
33c2096c5e
2 changed files with 6 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue