diff options
author | Sergey Poznyakoff <gray@gnu.org> | 2017-12-21 09:19:41 +0200 |
---|---|---|
committer | Sergey Poznyakoff <gray@gnu.org> | 2017-12-21 09:26:54 +0200 |
commit | 2e8a5e0be7b2db179018c10248a6cc64f9db3314 (patch) | |
tree | 6c36d26a1b6c6e668628683978baa2acea3ad3ba /configure.ac | |
parent | c175231e2781abd17eabf412cfb597654a076c7b (diff) | |
download | gdbm-2e8a5e0be7b2db179018c10248a6cc64f9db3314.tar.gz gdbm-2e8a5e0be7b2db179018c10248a6cc64f9db3314.tar.bz2 |
Improve database reproducibility
* src/gdbmopen.c (gdbm_fd_open): Fill allocated memory with 0's
where necessary.
Check return value from fstat.
* src/mmap.c (_gdbm_file_size): Set errno here, instead of delegating
that to the caller.
(_gdbm_file_extend): New function.
(_gdbm_mapped_remap): Call _gdbm_file_extend instead of leaving the
newly allocated space filled with garbage.
* src/gdbmload.c (_set_gdbm_meta_info): Additional error checking.
* NEWS: Update.
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions