From: Andrew M. Kuchling Date: Wed, 7 Jul 2004 14:20:04 +0000 (+0000) Subject: [Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672... X-Git-Tag: v2.3.5c1~188 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=1e731dac113fa8048a2477fd98f1e8c4b9161620;p=thirdparty%2FPython%2Fcpython.git [Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna --- diff --git a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c index accf43894bcf..03e664d6bc30 100644 --- a/Modules/gdbmmodule.c +++ b/Modules/gdbmmodule.c @@ -434,7 +434,7 @@ static PyObject * dbmopen(PyObject *self, PyObject *args) { char *name; - char *flags = "r "; + char *flags = "r"; int iflags; int mode = 0666;