* signal.cc (signal): Set sa_mask to sig.

This commit is contained in:
Christopher Faylor 2006-07-04 23:57:43 +00:00
parent e51ac1a2bf
commit a16597363f
2 changed files with 5 additions and 1 deletions

View File

@ -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.

View File

@ -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;