]> granicus.if.org Git - python/commitdiff
Missed a return from a signal handler -- thanks to /F for pointing
authorTim Peters <tim.peters@gmail.com>
Sun, 23 Jul 2000 18:33:52 +0000 (18:33 +0000)
committerTim Peters <tim.peters@gmail.com>
Sun, 23 Jul 2000 18:33:52 +0000 (18:33 +0000)
it out!

Modules/signalmodule.c

index 6fe516a87efec2022c01d0f3786b400f27b2e2d2..fb525f86f84b18d26b4e4f1f06ea7166efcc8df3 100644 (file)
@@ -136,7 +136,7 @@ signal_handler(int sig_num)
                   reset until explicit re-instated.
                   Don't clear the 'func' field as it is our pointer
                   to the Python handler... */
-               return;
+               Py_RETURN_FROM_SIGNAL_HANDLER(0);
        }
 #endif
 #ifdef HAVE_SIGINTERRUPT