diff options
author | Guido van Rossum <guido@python.org> | 2002-10-16 16:52:11 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 2002-10-16 16:52:11 (GMT) |
commit | 1e700d24e9022a75922dd8d7a6fdb4bd522beedf (patch) | |
tree | b246a10cc2c252bab52b7e00e9844cba5b97bfeb /Modules/posixmodule.c | |
parent | 2314a0470f0c8a78c30caa3f565b228e3968b716 (diff) | |
download | cpython-1e700d24e9022a75922dd8d7a6fdb4bd522beedf.zip cpython-1e700d24e9022a75922dd8d7a6fdb4bd522beedf.tar.gz cpython-1e700d24e9022a75922dd8d7a6fdb4bd522beedf.tar.bz2 |
posix_execve(): add missing argument for "et" format in PyArg_Parse()
call. This caused mysterious crashes (hard to debug because it was
happening in a child process).
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 9d7b977..0f2fbb9 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -2007,6 +2007,7 @@ posix_execve(PyObject *self, PyObject *args) for (i = 0; i < argc; i++) { if (!PyArg_Parse((*getitem)(argv, i), "et;execve() arg 2 must contain only strings", + Py_FileSystemDefaultEncoding, &argvlist[i])) { lastarg = i; |