[PATCH] ftpfs date/time parsing bug
Jindrich Makovicka
makovick at kmlinux.fjfi.cvut.cz
Tue Sep 24 17:00:55 UTC 2002
Hi,
here is a small fix for $subj. It's triggered by something like this
lftp holly:/pub/Video/Farscape/Farscape2> ls
-rw-r--r-- 1 1000 henry 341626880 Jan 21 2002 2x00 - Reunion
(originally meant to be 2x01).avi
-rw-r--r-- 1 1000 henry 340867072 Jan 17 2002 2x01 - Mind the
Baby.avi
-rw-r--r-- 1 1000 henry 341501952 Jan 18 2002 2x02 - Vitas
Mortis.avi
-rw-r--r-- 1 1000 henry 340209664 Jan 18 2002 2x03 - Taking
the Stone.avi
-rw-r--r-- 1 1000 henry 341143552 Jan 18 2002 2x04 - Crackers
Don't Matter.avi
i.e. date in "month day year" format followed by a filename starting
with a number. Then the number is treated as a part of the date,
resulting in a filename like " - Crackers Don't Matter.avi".
Regards,
--
Jindrich Makovicka
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: vfs.diff
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20020924/571b5787/attachment.diff>
More information about the mc-devel
mailing list