diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2000-11-04 07:54:27 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2000-11-04 07:54:27 +0000 |
commit | 99a4c1bd6b076fb9194689a48c72914348019638 (patch) | |
tree | a3aa69cb9babf5375d774e1fe60bb050094cc374 /libiberty/ChangeLog | |
parent | 82e7f05e13cc6fd05f1289378e863f25ff8d2f21 (diff) | |
download | gdb-99a4c1bd6b076fb9194689a48c72914348019638.zip gdb-99a4c1bd6b076fb9194689a48c72914348019638.tar.gz gdb-99a4c1bd6b076fb9194689a48c72914348019638.tar.bz2 |
* 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.
Diffstat (limited to 'libiberty/ChangeLog')
-rw-r--r-- | libiberty/ChangeLog | 10 |
1 files changed, 10 insertions, 0 deletions
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 <hp@bitrange.com> + + * 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 <hp@bitrange.com> * hashtab.c: Change void * to PTR where necessary. |