Hash :
957b8cd4
Author :
Date :
2023-08-13T08:34:44
hash: set errno on failure * lib/hash.c: Include errno.h. (compute_bucket_size, hash_initialize, hash_rehash) (hash_insert_if_absent): Set errno reliably on failure. (hash_free): Preserve errno, like plain 'free'. * modules/hash (Depends-on): Depend on calloc-posix, free-posix, malloc-posix, so that errno is set reliably.
Description:
Parameterizable hash table.
Files:
lib/hash.c
lib/hash.h
Depends-on:
bitrotate
calloc-posix
free-posix
malloc-posix
stdbool
stdint
xalloc-oversized
configure.ac:
Makefile.am:
lib_SOURCES += hash.c
Include:
"hash.h"
License:
LGPLv2+
Maintainer:
Jim Meyering