* signal.cc (signal): Set sa_mask to sig.
This commit is contained in:
parent
e51ac1a2bf
commit
a16597363f
|
@ -1,3 +1,7 @@
|
|||
2006-07-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* signal.cc (signal): Set sa_mask to sig.
|
||||
|
||||
2006-07-04 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* Makefile.in (DLL_OFILES): Add rexec.o.
|
||||
|
|
|
@ -74,7 +74,7 @@ signal (int sig, _sig_func_ptr func)
|
|||
else
|
||||
gs.sa_flags |= SA_RESTART;
|
||||
|
||||
gs.sa_mask = 0;
|
||||
gs.sa_mask = SIGTOMASK (sig);
|
||||
gs.sa_handler = func;
|
||||
gs.sa_flags &= ~SA_SIGINFO;
|
||||
|
||||
|
|
Loading…
Reference in New Issue