diff options
| author | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 14:20:04 +0000 |
|---|---|---|
| committer | Andrew M. Kuchling <amk@amk.ca> | 2004-07-07 14:20:04 +0000 |
| commit | 1e731dac113fa8048a2477fd98f1e8c4b9161620 (patch) | |
| tree | a1a921229a424a1a35f980655316a27e2aae3b2e /Modules | |
| parent | fe9ea4fd5e1a0870077c3b627608e50b3b08b04f (diff) | |
| download | cpython-git-1e731dac113fa8048a2477fd98f1e8c4b9161620.tar.gz | |
[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 accf43894b..03e664d6bc 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; |
