]> git.pld-linux.org Git - packages/gdbm.git/blame - gdbm-export.patch
- updated to 1.13
[packages/gdbm.git] / gdbm-export.patch
CommitLineData
8d7da47e
JB
1--- gdbm-1.13/export/export.c.orig 2017-01-02 12:51:49.000000000 +0100
2+++ gdbm-1.13/export/export.c 2017-04-10 21:29:05.764751534 +0200
3@@ -23,6 +23,7 @@
4
5 #include <gdbm.h>
6
7+#define GDBM_EXPORT_18
8 /* Pull in gdbm_export() */
9 #include "gdbmexp.c"
10
11--- gdbm-1.13/src/gdbmexp.c.orig 2017-01-02 12:51:49.000000000 +0100
12+++ gdbm-1.13/src/gdbmexp.c 2017-04-10 21:35:32.624747118 +0200
13@@ -21,8 +21,13 @@
14 # include "autoconf.h"
15 # include <arpa/inet.h>
16
17+#ifdef GDBM_EXPORT_18
18+# define GDBM_SET_ERRNO(dbf, ec, fatal) gdbm_errno = ec
19+# define GDBM_ASSERT_CONSISTENCY(dbf, val)
20+#else
21 # include "gdbmdefs.h"
22 # include "gdbm.h"
23+#endif
24
25 int
26 gdbm_export_to_file (GDBM_FILE dbf, FILE *fp)
This page took 0.064872 seconds and 4 git commands to generate.