Re: [hypermail] CVS write access?

From: Daniel Stenberg <daniel_at_haxx.se_at_hypermail-project.org>
Date: Tue, 21 Aug 2001 07:45:19 +0200 (MET DST)
Message-ID: <Pine.GSO.4.33.0108210738530.3117-100000_at_pm1.contactor.se>


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
Received on Tue 21 Aug 2001 07:50:30 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:53 PM GMT GMT