From 99a4c1bd6b076fb9194689a48c72914348019638 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Sat, 4 Nov 2000 07:54:27 +0000 Subject: * 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. --- libiberty/ChangeLog | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'libiberty/ChangeLog') diff --git a/libiberty/ChangeLog b/libiberty/ChangeLog index 7a3fbdb..87ef147 100644 --- a/libiberty/ChangeLog +++ b/libiberty/ChangeLog @@ -1,3 +1,13 @@ +2000-11-04 Hans-Peter Nilsson + + * 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. + 2000-11-03 Hans-Peter Nilsson * hashtab.c: Change void * to PTR where necessary. -- cgit v1.1