Commit 14ed5fb1 authored by Barry Warsaw's avatar Barry Warsaw

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.
parent 8ba76d3c
......@@ -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())
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment