Mailfs date problem
Leonard den Ottolander
leonard at den.ottolander.nl
Thu May 18 22:06:27 UTC 2006
Hi,
Pavel Tsekov drew my attention to the fact that the fact that we now
only parse dates with 3 elements (either year or time, not both) broke
mailfs. I intend to fix this, but haven't had time to look into this
thoroughly.
The representation for files younger and older than 6 months use either
time or year in the third field. However, there's a bit of an issue as
to what constitutes to 6 months that I need to investigate before I can
commit a correct fix. GNU ls seems to change at 180 or 181 days in the
past (not sure why this is inconsistent) but I'm unsure what mc assumes
internally (this day 6 months ago?).
Anyway, if you are using mc from CVS and using mailfs you can
temporarily use the attached patch which parses the date values back to
3 fields (year, not time). This causes all times for emails younger than
6 months to be represented as 00:00 which is ugly but at least it gets
rid of the year in the mail name.
I hope to find some time to fix this issue correctly next week (or the
week after that ;) .
Leonard.
--
mount -t life -o ro /dev/dna /genetic/research
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mailfs.in.patch
Type: text/x-patch
Size: 1175 bytes
Desc: not available
URL: <http://lists.midnight-commander.org/pipermail/mc-devel/attachments/20060519/73f69cc8/attachment.bin>
More information about the mc-devel
mailing list