path: root/doc
authorSergey Poznyakoff <>2016-07-14 18:02:05 (GMT)
committer Sergey Poznyakoff <>2016-07-14 18:02:05 (GMT)
commit5580c3248794803a8e45dd58b45933a32637954d (patch) (side-by-side diff)
tree3067db40ccf49fab472d7fe3df31bae17d24df5b /doc
parent66eb071ce6202a33dbf53dfc46e52b25d683290c (diff)
Don't use hardcoded constant
* src/gdbmconst.h (GDBM_HASH_BITS): New constant. * src/bucket.c: Use GDBM_HASH_BITS instead of the hardcoded value. * src/findkey.c (_gdbm_findkey): Use _gdbm_hash_key. * src/gdbmtool.c (hash_handler): Use _gdbm_hash_key if the database is open. * src/hash.c (_gdbm_bucket_dir, _gdbm_hash_key): New functions. * src/proto.h (_gdbm_bucket_dir, _gdbm_hash_key): New protos. * src/systems.h (STATBLKSIZE): Take a struct stat as argument. * src/gdbmopen.c (STATBLKSIZE): Takes argument now.
Diffstat (limited to 'doc') (more/less context) (show whitespace changes)
0 files changed, 0 insertions, 0 deletions

Return to:

Send suggestions and report system problems to the System administrator.