From 161edfaa008e7c44dcc8bad045095c57b17ed8f4 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 10 Jun 2001 16:00:23 +0000 Subject: * exceptions.cc (sigdelayed): Ensure that signal is cleared as the last operation or suffer races. * sigproc.cc (proc_subproc): Deal with zombie array overflow. --- winsup/cygwin/exceptions.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/exceptions.cc') diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc index c124b9266..82ba131c2 100644 --- a/winsup/cygwin/exceptions.cc +++ b/winsup/cygwin/exceptions.cc @@ -1206,11 +1206,11 @@ _sigdelayed0:\n\ \n\ call _reset_signal_arrived@0\n\ pushl %5 # signal number\n\ + pushl %8 # newmask\n\ movl $0,%0 # zero the signal number as a\n\ # flag to the signal handler thread\n\ # that it is ok to set up sigsave\n\ \n\ - pushl %8\n\ call _set_process_mask@4\n\ popl %%eax\n\ jmp *%%eax\n\ -- cgit v1.2.3