This is the mail archive of the gcc-cvs@gcc.gnu.org mailing list for the GCC project.


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

egcs/libiberty ChangeLog hashtab.c


CVSROOT:	/cvs/gcc
Module name:	egcs
Changes by:	hp@gcc.gnu.org	2000-11-03 23:42:54

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://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libiberty/ChangeLog.diff?cvsroot=gcc&r1=1.241&r2=1.242
http://gcc.gnu.org/cgi-bin/cvsweb.cgi/egcs/libiberty/hashtab.c.diff?cvsroot=gcc&r1=1.17&r2=1.18


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