commit | ea271f2d5e38129b45f798a9e883cdc1e47f8b31 | [log] [tgz] |
---|---|---|
author | Andrew M. Kuchling <amk@amk.ca> | Wed Jul 07 14:19:09 2004 +0000 |
committer | Andrew M. Kuchling <amk@amk.ca> | Wed Jul 07 14:19:09 2004 +0000 |
tree | 64e45e84603deeb80ce9f29bc43f23f95fb23c59 | |
parent | 1263bd8b6c507e15df7df506c94b54d9629a8ec8 [diff] |
[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 accf438..03e664d 100644 --- a/Modules/gdbmmodule.c +++ b/Modules/gdbmmodule.c
@@ -434,7 +434,7 @@ dbmopen(PyObject *self, PyObject *args) { char *name; - char *flags = "r "; + char *flags = "r"; int iflags; int mode = 0666;