From: Andrew M. Kuchling Date: Wed, 7 Jul 2004 14:19:09 +0000 (+0000) Subject: [Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672... X-Git-Tag: v2.4a1~24 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=ea271f2d5e38129b45f798a9e883cdc1e47f8b31;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;