diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2002-05-04 13:13:41 (GMT) |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2002-05-04 13:13:41 (GMT) |
commit | 2b41b0d6a70330153952477baec47ec8c2efdc18 (patch) | |
tree | f842be486d4558508a3405454d7023e2f4a97c1e /Modules/posixmodule.c | |
parent | b1094f0b1b1dbc3b2d8f779ba53dc4e2093baca6 (diff) | |
download | cpython-2b41b0d6a70330153952477baec47ec8c2efdc18.zip cpython-2b41b0d6a70330153952477baec47ec8c2efdc18.tar.gz cpython-2b41b0d6a70330153952477baec47ec8c2efdc18.tar.bz2 |
Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
add it to the posix_methods.
Diffstat (limited to 'Modules/posixmodule.c')
-rw-r--r-- | Modules/posixmodule.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/Modules/posixmodule.c b/Modules/posixmodule.c index 03622b7..9d7c3c2 100644 --- a/Modules/posixmodule.c +++ b/Modules/posixmodule.c @@ -4857,7 +4857,7 @@ Return True if the process returning 'status' was continued from a\n\ job control stop."; static PyObject * -posix_WCONTINUED(PyObject *self, PyObject *args) +posix_WIFCONTINUED(PyObject *self, PyObject *args) { #ifdef UNION_WAIT union wait status; @@ -4873,7 +4873,7 @@ posix_WCONTINUED(PyObject *self, PyObject *args) return NULL; } - return PyBool_FromLong(WCONTINUED(status)); + return PyBool_FromLong(WIFCONTINUED(status)); #undef status_i } #endif /* WIFCONTINUED */ @@ -6465,6 +6465,9 @@ static PyMethodDef posix_methods[] = { #ifdef WCOREDUMP {"WCOREDUMP", posix_WCOREDUMP, METH_VARARGS, posix_WCOREDUMP__doc__}, #endif /* WCOREDUMP */ +#ifdef WIFCONTINUED + {"WIFCONTINUED",posix_WIFCONTINUED, METH_VARARGS, posix_WIFCONTINUED__doc__}, +#endif /* WIFCONTINUED */ #ifdef WIFSTOPPED {"WIFSTOPPED", posix_WIFSTOPPED, METH_VARARGS, posix_WIFSTOPPED__doc__}, #endif /* WIFSTOPPED */ |