aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/exceptions.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2001-06-10 16:00:23 +0000
committerChristopher Faylor <me@cgf.cx>2001-06-10 16:00:23 +0000
commit161edfaa008e7c44dcc8bad045095c57b17ed8f4 (patch)
tree549af1209bbd851b32f5e4a8c04d2d4169852e00 /winsup/cygwin/exceptions.cc
parent463513f0e2cfa15ebebb5df41ea13b324f83934b (diff)
downloadnewlib-161edfaa008e7c44dcc8bad045095c57b17ed8f4.zip
newlib-161edfaa008e7c44dcc8bad045095c57b17ed8f4.tar.gz
newlib-161edfaa008e7c44dcc8bad045095c57b17ed8f4.tar.bz2
* exceptions.cc (sigdelayed): Ensure that signal is cleared as the last
operation or suffer races. * sigproc.cc (proc_subproc): Deal with zombie array overflow.
Diffstat (limited to 'winsup/cygwin/exceptions.cc')
-rw-r--r--winsup/cygwin/exceptions.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/exceptions.cc b/winsup/cygwin/exceptions.cc
index c124b92..82ba131 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\