[Zodb-checkins] CVS: StandaloneZODB/bsddb3Storage - pybsddb-patch.txt:1.1.2.1

Barry Warsaw barry@wooz.org
Mon, 24 Jun 2002 12:11:23 -0400


Update of /cvs-repository/StandaloneZODB/bsddb3Storage
In directory cvs.zope.org:/tmp/cvs-serv15070

Added Files:
      Tag: bsddb3Storage-picklelog-branch
	pybsddb-patch.txt 
Log Message:
A patch to fix a core causing bug in PyBSDDB 3.3.0.


=== Added File StandaloneZODB/bsddb3Storage/pybsddb-patch.txt ===
--- /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},