Index: dist/src/Modules/posixmodule.c =================================================================== RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v retrieving revision 2.321 diff -c -r2.321 posixmodule.c *** dist/src/Modules/posixmodule.c 15 Jun 2004 18:49:58 -0000 2.321 --- dist/src/Modules/posixmodule.c 14 Aug 2004 06:12:48 -0000 *************** *** 2171,2182 **** return NULL; } - if (argc == 0) { - PyErr_SetString(PyExc_ValueError, "execv() arg 2 must not be empty"); - PyMem_Free(path); - return NULL; - } - argvlist = PyMem_NEW(char *, argc+1); if (argvlist == NULL) { PyMem_Free(path); --- 2171,2176 ---- *************** *** 2253,2264 **** goto fail_0; } - if (argc == 0) { - PyErr_SetString(PyExc_ValueError, - "execve() arg 2 must not be empty"); - goto fail_0; - } - argvlist = PyMem_NEW(char *, argc+1); if (argvlist == NULL) { PyErr_NoMemory(); --- 2247,2252 ---- Index: dist/src/Doc/lib/libos.tex =================================================================== RCS file: /cvsroot/python/python/dist/src/Doc/lib/libos.tex,v retrieving revision 1.140 diff -c -r1.140 libos.tex *** dist/src/Doc/lib/libos.tex 26 Jul 2004 00:42:41 -0000 1.140 --- dist/src/Doc/lib/libos.tex 14 Aug 2004 06:12:48 -0000 *************** *** 1226,1233 **** \function{execl*()} functions. The \character{v} variants are good when the number of parameters is variable, with the arguments being passed in a list or tuple as the \var{args} parameter. In either ! case, the arguments to the child process must start with the name of ! the command being run. The variants which include a \character{p} near the end (\function{execlp()}, \function{execlpe()}, \function{execvp()}, --- 1226,1233 ---- \function{execl*()} functions. The \character{v} variants are good when the number of parameters is variable, with the arguments being passed in a list or tuple as the \var{args} parameter. In either ! case, the arguments to the child process should start with the name of ! the command being run, but this is not enforced. The variants which include a \character{p} near the end (\function{execlp()}, \function{execlpe()}, \function{execvp()},