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.
This commit is contained in:
Barry Warsaw 1996-12-16 20:24:22 +00:00
parent 8ba76d3cf3
commit 14ed5fb1ec
1 changed files with 8 additions and 0 deletions

View File

@ -435,9 +435,17 @@ 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())