Re: statvfs.h

2006-05-26 Thread Pavel Tsekov
On Fri, 26 May 2006, Leonard den Ottolander wrote: In fsusage.m4 I read: Do not use statvfs on systems with GNU libc, because that function stats all preceding entries in /proc/mounts, and that makes df hang if even one of the corresponding file systems is hard-mounted, but not available.

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Pavel Tsekov
On Fri, 26 May 2006, Leonard den Ottolander wrote: Attached file is a replacement for mailfs. Please test. It parses the dates back to 3 elements. Used ranges are estimates that are slightly larger than the ranges used by file_date, but this avoids overly complex equations and file_date parses

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Pavel Tsekov
On Fri, 26 May 2006, Leonard den Ottolander wrote: Attached file is a replacement for mailfs. Please test. It parses the dates back to 3 elements. Used ranges are estimates that are slightly larger than the ranges used by file_date, but this avoids overly complex equations and file_date parses

Re: statvfs.h

2006-05-26 Thread Leonard den Ottolander
Hi Pavel, On Fri, 2006-05-26 at 09:36 +0300, Pavel Tsekov wrote: No. NetBSD doesn't use glibc. Apparantly it has a field struct that wasn't detected properly... I wasn't assuming that NetBSD uses glibc, but I was wondering if the include somehow will affect systems that do use glibc. From your

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Leonard den Ottolander
Hi Pavel, On Fri, 2006-05-26 at 16:22 +0300, Pavel Tsekov wrote: I guess you meant %H and not %h. %h yields according to the man page the locale's abbreviated month name (e.g., Jan). Yes. Leonard. -- mount -t life -o ro /dev/dna /genetic/research

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Leonard den Ottolander
Hello Pavel, On Fri, 2006-05-26 at 15:46 +0300, Pavel Tsekov wrote: The new mailfs script does indeed produce dates consisting of 3 fieds however its major drawback seems to be that it is very slow. The old script processes a mailbox of size ~7.5 Mb in just a few seconds while the new one

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Leonard den Ottolander
Hello Pavel, On Fri, 2006-05-26 at 15:46 +0300, Pavel Tsekov wrote: The new mailfs script does indeed produce dates consisting of 3 fieds however its major drawback seems to be that it is very slow. The old script processes a mailbox of size ~7.5 Mb in just a few seconds while the new one

Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Leonard den Ottolander
Hello Pavel, On Fri, 2006-05-26 at 15:46 +0300, Pavel Tsekov wrote: The new mailfs script does indeed produce dates consisting of 3 fieds however its major drawback seems to be that it is very slow. The old script processes a mailbox of size ~7.5 Mb in just a few seconds while the new one

[PATCH] Re: [PATCH] Re: Mailfs date problem

2006-05-26 Thread Leonard den Ottolander
Hello Pavel, On Fri, 2006-05-26 at 15:46 +0300, Pavel Tsekov wrote: There is another problem with mail messages which contain in their bodies the word From at the start of a line. The impact of this problem can be reduced by making the match for the header start line more strict. Still