]> granicus.if.org Git - python/commitdiff
Export SIGINFO. Fixes #502077.
authorMartin v. Löwis <martin@v.loewis.de>
Sat, 12 Jan 2002 11:43:25 +0000 (11:43 +0000)
committerMartin v. Löwis <martin@v.loewis.de>
Sat, 12 Jan 2002 11:43:25 +0000 (11:43 +0000)
Modules/signalmodule.c

index 1053cf1cf29df3efe552ec184430b8a6a36f861b..e34f051398c5082b4d73bc8daea63049bf4c3a1c 100644 (file)
@@ -543,6 +543,11 @@ initsignal(void)
        x = PyInt_FromLong(SIGXFSZ);
        PyDict_SetItemString(d, "SIGXFSZ", x);
         Py_XDECREF(x);
+#endif
+#ifdef SIGINFO
+       x = PyInt_FromLong(SIGINFO);
+       PyDict_SetItemString(d, "SIGINFO", x);
+        Py_XDECREF(x);
 #endif
         if (!PyErr_Occurred())
                 return;