[Python-checkins] python/dist/src/Modules posixmodule.c,2.232,2.233
loewis@sourceforge.net
loewis@sourceforge.net
2002年5月04日 06:13:44 -0700
Update of /cvsroot/python/python/dist/src/Modules
In directory usw-pr-cvs1:/tmp/cvs-serv26421
Modified Files:
posixmodule.c
Log Message:
Rename posix_WCONTINUED to posix_WIFCONTINUED, call WIFCONTINUED inside,
add it to the posix_methods.
Index: posixmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Modules/posixmodule.c,v
retrieving revision 2.232
retrieving revision 2.233
diff -C2 -d -r2.232 -r2.233
*** posixmodule.c 23 Apr 2002 15:58:01 -0000 2.232
--- posixmodule.c 4 May 2002 13:13:41 -0000 2.233
***************
*** 4858,4862 ****
static PyObject *
! posix_WCONTINUED(PyObject *self, PyObject *args)
{
#ifdef UNION_WAIT
--- 4858,4862 ----
static PyObject *
! posix_WIFCONTINUED(PyObject *self, PyObject *args)
{
#ifdef UNION_WAIT
***************
*** 4874,4878 ****
}
! return PyBool_FromLong(WCONTINUED(status));
#undef status_i
}
--- 4874,4878 ----
}
! return PyBool_FromLong(WIFCONTINUED(status));
#undef status_i
}
***************
*** 6466,6469 ****
--- 6466,6472 ----
{"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__},