[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage - pybsddb-patch.txt:1.2
Barry Warsaw
barry@wooz.org
Fri, 23 Aug 2002 13:05:58 -0400
Update of /cvs-repository/StandaloneZODB/bsddb3Storage
In directory cvs.zope.org:/tmp/cvs-serv529
Added Files:
pybsddb-patch.txt
Log Message:
An essential patch for BerkeleyDB 3.3.x, although I still recommend
BerkeleyDB 4.0.14 instead.
=== StandaloneZODB/bsddb3Storage/pybsddb-patch.txt 1.1 => 1.2 ===
--- /dev/null Fri Aug 23 13:05:58 2002
+++ StandaloneZODB/bsddb3Storage/pybsddb-patch.txt Fri Aug 23 13:05:58 2002
@@ -0,0 +1,11 @@
+--- /usr/local/src/bsddb3-3.3.0/src/_db.c.~1~ Thu Sep 13 17:52:04 2001
++++ /usr/local/src/bsddb3-3.3.0/src/_db.c Fri Jun 7 00:37:00 2002
+@@ -3508,7 +3508,7 @@
+ {"stat", (PyCFunction)DB_stat, METH_VARARGS},
+ {"sync", (PyCFunction)DB_sync, METH_VARARGS},
+ #if DBVER33
+- {"truncate", (PyCFunction)DB_truncate, METH_VARARGS},
++ {"truncate", (PyCFunction)DB_truncate, METH_VARARGS|METH_KEYWORDS},
+ #endif
+ {"type", (PyCFunction)DB_get_type, METH_VARARGS},
+ {"upgrade", (PyCFunction)DB_upgrade, METH_VARARGS},