I found a problem in ftpfs_unix code, it fails when remote
server is un*x and is using un*x date format - when a file
is older than 1/2 year only year and date is sent (this is
ok, ftpfs sets hours to 00:00), in inverse case only date
and time is sent and ftpfs has to guess year. This fails
when you're nearer than 6 months from year leap, for
example - you have a file from 11/2002 (you'll see
something like Oct 1 3:00) and you're in 3/2003, ftpfs
will guess the filedate as Oct 1 11:00 2003 which is
wrong, of course. Attached patch fixes that.
Log in to post a comment.