diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 14:19:09 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 14:19:09 (GMT) |
commit | ea271f2d5e38129b45f798a9e883cdc1e47f8b31 (patch) | |
tree | 64e45e84603deeb80ce9f29bc43f23f95fb23c59 /Modules | |
parent | 1263bd8b6c507e15df7df506c94b54d9629a8ec8 (diff) | |
download | cpython-ea271f2d5e38129b45f798a9e883cdc1e47f8b31.zip cpython-ea271f2d5e38129b45f798a9e883cdc1e47f8b31.tar.gz cpython-ea271f2d5e38129b45f798a9e883cdc1e47f8b31.tar.bz2 |
[Bug #982806] The default argument for opening GDBM files is bogus. Patch #984672 by James Lamanna
Diffstat (limited to 'Modules')
-rw-r--r-- | Modules/gdbmmodule.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |