[Python-checkins] python/dist/src/Modules posixmodule.c,2.266,2.267
gvanrossum@users.sourceforge.net
gvanrossum@users.sourceforge.net
2002年10月16日 09:52:14 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv31979
Modified Files:
posixmodule.c
Log Message:
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).
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.266
retrieving revision 2.267
diff -C2 -d -r2.266 -r2.267
*** posixmodule.c 11 Oct 2002 22:19:42 -0000 2.266
--- posixmodule.c 16 Oct 2002 16:52:11 -0000 2.267
***************
*** 2008,2011 ****
--- 2008,2012 ----
if (!PyArg_Parse((*getitem)(argv, i),
"et;execve() arg 2 must contain only strings",
+ Py_FileSystemDefaultEncoding,
&argvlist[i]))
{