summaryrefslogtreecommitdiff
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
commit09adb2b1a2839c231c9777a91d75d2726fbe66a8 (patch)
tree7847e7e28e78cd1c441f4a46c465dc478ed39f3a /libiberty/ChangeLog
parentbdae8363bec24cd3f80817cafe5811615a25a065 (diff)
downloadgdb-09adb2b1a2839c231c9777a91d75d2726fbe66a8.tar.gz
* 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 7a3fbdb60ce..87ef147b197 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.