egcs/libiberty ChangeLog hashtab.c
hp@gcc.gnu.org
hp@gcc.gnu.org
Fri Nov 3 23:42:00 GMT 2000
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
More information about the Gcc-cvs
mailing list