[Pkg-mailman-hackers] Pkg-mailman commit - rev 145 - branches/pkg-split/core/debian/Debian

Bernd S. Brentrup bsb@haydn.debian.org
Sat, 22 May 2004 03:14:54 -0600


Author: bsb
Date: 2004-05-22 03:14:42 -0600 (Sat, 22 May 2004)
New Revision: 145

Modified:
   branches/pkg-split/core/debian/Debian/cf_db.py
Log:
Ugly hack disabling threading flag on bsddb.

Modified: branches/pkg-split/core/debian/Debian/cf_db.py
===================================================================
--- branches/pkg-split/core/debian/Debian/cf_db.py	2004-05-20 08:39:09 UTC (rev 144)
+++ branches/pkg-split/core/debian/Debian/cf_db.py	2004-05-22 09:14:42 UTC (rev 145)
@@ -11,6 +11,12 @@
 import os
 import bsddb
 
+# HACK: bsddb.btopen() fails at least on mips because "architecture lacks
+#       fast mutexes, applications can't be threaded".
+#       We don't need threading, didn't even ask for it.
+bsddb.db.DB_THREAD = 0
+
+
 class ConfFileDatabase:
     """
     Registered templates are stored as strings indexed by their