From 2b41b0d6a70330153952477baec47ec8c2efdc18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Martin=20v=2E=20L=C3=B6wis?= Date: Sat, 4 May 2002 13:13:41 +0000 Subject: Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside, add it to the posix_methods. --- Modules/posixmodule.c | 7 +++++-- 1 file 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 */ -- cgit v0.12