From mboxrd@z Thu Jan 1 00:00:00 1970 From: hp@sourceware.cygnus.com To: src-cvs@sourceware.cygnus.com Subject: src/libiberty ChangeLog hashtab.c Date: Fri, 03 Nov 2000 23:54:00 -0000 Message-id: <20001104075427.961.qmail@sourceware.cygnus.com> X-SW-Source: 2000-q4/msg00014.html List-Id: 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