aboutsummaryrefslogtreecommitdiff
path: root/doc/gdbm.3
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2019-11-16 10:43:39 +0200
committerSergey Poznyakoff <gray@gnu.org>2019-11-16 10:43:39 +0200
commit7aefde132304ec11edbacad76a3acd69db9e2fc4 (patch)
tree6a10e995f7413c9759494c905a035b73977123ac /doc/gdbm.3
parent6534535f18c41304b6623c4afd42e20da941e061 (diff)
downloadgdbm-7aefde132304ec11edbacad76a3acd69db9e2fc4.tar.gz
gdbm-7aefde132304ec11edbacad76a3acd69db9e2fc4.tar.bz2
Simplify memory allocation
* src/gdbmdefs.h (cache_elem): Place one hash_bucket element at the end of the structure so it can be allocated along with it. * src/bucket.c (cache_elem_new): Allocate enough space for cache_elem and dbf->header->bucket_size hash bucket within.
Diffstat (limited to 'doc/gdbm.3')
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.