* 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
This commit is contained in:
shugo 2004-05-27 06:56:23 +00:00
Родитель b629932863
Коммит 87fb7bb66d
2 изменённых файлов: 6 добавлений и 1 удалений

Просмотреть файл

@ -1,3 +1,8 @@
Thu May 27 15:54:02 2004 Shugo Maeda <shugo@ruby-lang.org>
* lib/net/ftp.rb (MDTM_REGEXP): fix for demon's ftp server.
Thanks, Rutger Nijlunsing.
Thu May 27 14:53:13 2004 WATANABE Hirofumi <eban@ruby-lang.org>
* io.c (rb_io_fwrite): workaround for bcc32's fwrite bug.

Просмотреть файл

@ -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