src/libiberty ChangeLog hashtab.c

hp@sourceware.cygnus.com hp@sourceware.cygnus.com
Fri Nov 3 23:54:00 GMT 2000


CVSROOT:	/cvs/src
Module name:	src
Changes by:	hp@sources.redhat.com	2000-11-03 23:54:27

Modified files:
	libiberty      : ChangeLog hashtab.c 

Log message:
	* hashtab.c (htab_expand): Change to return int.  Use calloc or
	xcalloc depending on htab->return_allocation_failure.  Return zero
	if calloc fails.
	(htab_create): Update comment to cover memory allocation.
	(htab_try_create): New.
	(htab_find_slot_with_hash): Return NULL if htab_expand fails.
	Update comment to cover this.

Patches:
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/ChangeLog.diff?cvsroot=src&r1=1.44&r2=1.45
http://sources.redhat.com/cgi-bin/cvsweb.cgi/src/libiberty/hashtab.c.diff?cvsroot=src&r1=1.5&r2=1.6



More information about the Src-cvs mailing list