[Python-checkins] r60543 - python/branches/release25-maint/Modules/posixmodule.c

andrew.macintyre python-checkins at python.org
Sun Feb 3 08:20:39 CET 2008


Author: andrew.macintyre
Date: Sun Feb  3 08:20:39 2008
New Revision: 60543

Modified:
   python/branches/release25-maint/Modules/posixmodule.c
Log:
Backport 60542:
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2].



Modified: python/branches/release25-maint/Modules/posixmodule.c
==============================================================================
--- python/branches/release25-maint/Modules/posixmodule.c	(original)
+++ python/branches/release25-maint/Modules/posixmodule.c	Sun Feb  3 08:20:39 2008
@@ -3412,9 +3412,9 @@
 
 	Py_BEGIN_ALLOW_THREADS
 #if defined(PYCC_GCC)
-	spawnval = spawnve(mode, path, argvlist, envlist);
+	spawnval = spawnvpe(mode, path, argvlist, envlist);
 #else
-	spawnval = _spawnve(mode, path, argvlist, envlist);
+	spawnval = _spawnvpe(mode, path, argvlist, envlist);
 #endif
 	Py_END_ALLOW_THREADS
 


More information about the Python-checkins mailing list