This is the mail archive of the
src-cvs@sources.redhat.com
mailing list .
src/libiberty ChangeLog hashtab.c
- To: src-cvs at sourceware dot cygnus dot com
- Subject: src/libiberty ChangeLog hashtab.c
- From: hp at sourceware dot cygnus dot com
- Date: 4 Nov 2000 07:54:27 -0000
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