From 1e700d24e9022a75922dd8d7a6fdb4bd522beedf Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Wed, 16 Oct 2002 16:52:11 +0000 Subject: [PATCH] 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). --- Modules/posixmodule.c | 1 + 1 file changed, 1 insertion(+) diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 9d7b977f8d..0f2fbb9752 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; -- 2.49.0