summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-02-03 07:07:31 (GMT)
committerAndrew MacIntyre <andymac@bullseye.apana.org.au>2008-02-03 07:07:31 (GMT)
commit94dcf0ddbf4bb4b03ea80fe237dbc37796bb3eee (patch)
treefa0a6a1c06f48325955b25632f00d51efc041bbf /Modules
parent52895fc39f15a9feb6db40252d2f669ff6b91dc7 (diff)
downloadcpython-94dcf0ddbf4bb4b03ea80fe237dbc37796bb3eee.zip
cpython-94dcf0ddbf4bb4b03ea80fe237dbc37796bb3eee.tar.gz
cpython-94dcf0ddbf4bb4b03ea80fe237dbc37796bb3eee.tar.bz2
The wrapper function is supposed to be for spawnvpe() so that's
what we should call [this wrapper only available on OS/2]. Backport candidate to 2.5.
Diffstat (limited to 'Modules')
-rw-r--r--Modules/posixmodule.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c
index 367a1bb..77d4084 100644
--- a/Modules/posixmodule.c
+++ b/Modules/posixmodule.c
@@ -3538,9 +3538,9 @@ posix_spawnvpe(PyObject *self, PyObject *args)
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