diff options
author | Barry Warsaw <barry@python.org> | 1996-12-16 20:24:22 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 1996-12-16 20:24:22 (GMT) |
commit | 14ed5fb1ec62bd69b6eb8994ab17645bbd4adba7 (patch) | |
tree | 4fffc82215b79609ce05f34d1f11ff8f824e980b /Modules/signalmodule.c | |
parent | 8ba76d3cf38a9aaec3bdea9f13b52d8e8a03915e (diff) | |
download | cpython-14ed5fb1ec62bd69b6eb8994ab17645bbd4adba7.zip cpython-14ed5fb1ec62bd69b6eb8994ab17645bbd4adba7.tar.gz cpython-14ed5fb1ec62bd69b6eb8994ab17645bbd4adba7.tar.bz2 |
initsignal(): Added SIGXCPU and SIGXFSZ. Left in the definitions for
SIGCPU and SIGFSZ but we're (Jeremy and I) are actually unsure whether
these were typos or if there are systems that use these alternate
names. We've checked Solaris, SunOS, and IRIX; they contain only the
SIGX* names.
Diffstat (limited to 'Modules/signalmodule.c')
-rw-r--r-- | Modules/signalmodule.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/Modules/signalmodule.c b/Modules/signalmodule.c index 9e7f239..5a91419 100644 --- a/Modules/signalmodule.c +++ b/Modules/signalmodule.c @@ -435,10 +435,18 @@ initsignal() x = PyInt_FromLong(SIGCPU); PyDict_SetItemString(d, "SIGCPU", x); #endif +#ifdef SIGXCPU + x = PyInt_FromLong(SIGXCPU); + PyDict_SetItemString(d, "SIGXCPU", x); +#endif #ifdef SIGFSZ x = PyInt_FromLong(SIGFSZ); PyDict_SetItemString(d, "SIGFSZ", x); #endif +#ifdef SIGXFSZ + x = PyInt_FromLong(SIGXFSZ); + PyDict_SetItemString(d, "SIGXFSZ", x); +#endif /* Check for errors */ if (PyErr_Occurred()) Py_FatalError("can't initialize module signal"); |