This is the mail archive of the libc-hacker@sources.redhat.com mailing list for the glibc project.

Note that libc-hacker is a closed list. You may look at the archives of this list, but subscription and posting are not open.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Move hash collision warnings undef ! be_quiet


On Wed, Aug 28, 2002 at 08:41:40AM +0200, Jakub Jelinek wrote:
> Hi!
> 
> 2002-08-28  Jakub Jelinek  <jakub@redhat.com>
> 
> 	* locale/programs/locarchive.c (insert_name): Suppress warnings about
> 	hash collisions if be_quiet.

Well, there is another problem. locale-archive uses uint32_t
to store hashval, yet compute_hashval calculates it as unsigned long int.
Which means that a) the hash is incompatible between 32-bit and 64-bit
b) it creates tons of collisions
Working on a fix...

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]