summaryrefslogtreecommitdiffstats
path: root/debian/patches/04_remove_gdbm_support.diff
blob: e4e240bb5b20ca5b2c6fb231660a3fa2631a689d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- a/src/util/dict_dbm.c
+++ b/src/util/dict_dbm.c
@@ -417,6 +417,10 @@
     char   *dbm_path = 0;
     int     lock_fd;
 
+#ifdef HAVE_GDBM
+    msg_fatal("%s: gdbm maps use locking that is incompatible with postfix.  Use a hash map instead.",
+		 path);
+#endif
     /*
      * Let the optimizer worry about eliminating redundant code.
      */