From ea271f2d5e38129b45f798a9e883cdc1e47f8b31 Mon Sep 17 00:00:00 2001 From: "Andrew M. Kuchling" Date: Wed, 7 Jul 2004 14:19:09 +0000 Subject: [Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna --- Modules/gdbmmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/gdbmmodule.c b/Modules/gdbmmodule.c index accf438..03e664d 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; -- cgit v0.12