diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2000-11-04 07:42:53 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2000-11-04 07:42:53 +0000 |
commit | d50d20ecc8b8152b7bf5aa498c4a6a7556e493ec (patch) | |
tree | 1c95543158a92a3624e0db715aa490c262af08e7 /libf2c | |
parent | 5dd0f480ae41ba813754743c0f040c030be62987 (diff) | |
download | gcc-d50d20ecc8b8152b7bf5aa498c4a6a7556e493ec.zip gcc-d50d20ecc8b8152b7bf5aa498c4a6a7556e493ec.tar.gz gcc-d50d20ecc8b8152b7bf5aa498c4a6a7556e493ec.tar.bz2 |
hashtab.c (htab_expand): Change to return int.
* 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.
From-SVN: r37247
Diffstat (limited to 'libf2c')
0 files changed, 0 insertions, 0 deletions