aboutsummaryrefslogtreecommitdiff
path: root/libiberty/ChangeLog
diff options
context:
space:
mode:
authorHans-Peter Nilsson <hp@axis.com>2000-11-04 07:54:27 +0000
committerHans-Peter Nilsson <hp@axis.com>2000-11-04 07:54:27 +0000
commit99a4c1bd6b076fb9194689a48c72914348019638 (patch)
treea3aa69cb9babf5375d774e1fe60bb050094cc374 /libiberty/ChangeLog
parent82e7f05e13cc6fd05f1289378e863f25ff8d2f21 (diff)
downloadgdb-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/ChangeLog10
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.