This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
egcs/libiberty ChangeLog hashtab.c
- To: gcc-cvs at gcc dot gnu dot org
- Subject: egcs/libiberty ChangeLog hashtab.c
- From: hp at gcc dot gnu dot org
- Date: 4 Nov 2000 07:42:54 -0000
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