![]()
From: Daniel Stenberg (daniel@haxx.se)
Date: Tue Aug 21 2001 - 00:45:19 CDT
On Mon, 20 Aug 2001, Jose Kahan wrote:
> I've spent time analysing the code in parse.c and file.c, as it has
> changed from the last time I looked into it. Some functions are not
> commented, related to regexp searches :-/
I haven't made any changes at all to hypermail since I added 'spamprotect' in
May last year, and I haven't even followed the development very closely.
The regexp searches and mostly everything that have been made the last year
should all be credited to Peter McCluskey.
> I noticed that we read the files in find_max_msgnum(), using a call to
> opendir. Regardless of the feature I want to introduce, this seems a bit
> dangerous, as hypermail assumes that the only thing found in the
> directory are its own messages. Why not? This could always be true. I was
> wondering why we don't try open one of the index files that has a list of
> all the messages and put there the latest message number?
Very good question. It would probably be a lot faster when the number of
files grows very large.
> This would also simplify what I would like to add as a feature :)
Yeps.
--
Daniel Stenberg - http://daniel.haxx.se - +46-705-44 31 77
ech`echo xiun|tr nu oc|sed 'sx\([sx]\)\([xoi]\)xo un\2\1 is xg'`ol
![]()