aboutsummaryrefslogtreecommitdiff
path: root/src/gdbm.h.in
diff options
context:
space:
mode:
authorSergey Poznyakoff <gray@gnu.org>2021-07-30 07:24:18 +0300
committerSergey Poznyakoff <gray@gnu.org>2021-07-30 07:24:18 +0300
commita9984547d57a687da75f9a182ce2d9b3c5a4cad6 (patch)
tree169a8dc9adea2b1d4556a2eb33ed3938fa577f04 /src/gdbm.h.in
parentb53745b01e90c3d2a5e6d3223f9daedf27cfd88d (diff)
downloadgdbm-a9984547d57a687da75f9a182ce2d9b3c5a4cad6.tar.gz
gdbm-a9984547d57a687da75f9a182ce2d9b3c5a4cad6.tar.bz2
Avoid eventual alignment problems
* src/gdbm.magic: Handle extended GDBM format. * src/gdbmdefs.h (gdbm_file_standard_header) (gdbm_file_extended_header): New data types. * src/gdbmopen.c (gdbm_header_avail): Use casts to gdbm_file_*_header to obtain data offsets. * src/gdbmtool.c (print_header_handler): Improve formatting.
Diffstat (limited to 'src/gdbm.h.in')
-rw-r--r--src/gdbm.h.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gdbm.h.in b/src/gdbm.h.in
index c4c8d88..ac71810 100644
--- a/src/gdbm.h.in
+++ b/src/gdbm.h.in
@@ -56,7 +56,7 @@ extern "C" {
# define GDBM_CLOERROR 0x0400 /* Only for gdbm_fd_open: close fd on error. */
# define GDBM_XVERIFY 0x0800 /* Additional consistency checks. */
# define GDBM_PREREAD 0x1000 /* Enable pre-fault reading of mmapped regions. */
-# define GDBM_NUMSYNC 0x2000
+# define GDBM_NUMSYNC 0x2000 /* Enable the numsync extension */
/* Parameters to gdbm_store for simple insertion or replacement in the

Return to:

Send suggestions and report system problems to the System administrator.