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 /ld/ldlex.l | |
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 'ld/ldlex.l')
0 files changed, 0 insertions, 0 deletions