src/libiberty ChangeLog hashtab.c
Fri Nov 3 23:54:00 GMT 2000

CVSROOT:	/cvs/src
Module name:	src
Changes by:	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.


More information about the Src-cvs mailing list