Re: [hypermail] hashed filenames patch commited to CVS

From: Peter C. McCluskey <>
Date: Mon, 30 Sep 2002 11:10:36 -0700 (PDT)
Message-Id: <> (Jose Kahan) writes:
>I'm using an 32 bit. FNV1 hash function [1] and giving it as input the
>msgid and the From date. This will hopefully allow to have a
>unique hash name. If the 2^32 hash space isn't wide enough, we can
>always move to 64 bits... time will tell.

 I'm not very happy with using hope as a means of avoiding problems. Is there a good reason for not detecting and fixing collisions?

>More in detail, the change was quite straightforward to do. I changed
>all the functions where a msgnum value was used to create lnks or make
>filenames and made it go through a function. In function of your
>hypermail options, this function (file.c:message_name()) will either
>return the msgnum formatted in %.04d or the message hash name.

 I still see a bunch of %.4d's in the source code, so I doubt you've been thorough.

Peter McCluskey          | Free Jon Johansen! | 
Received on Mon 30 Sep 2002 08:10:34 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT