Cygwin: _pinfo::siginfo: fix sig_send call
Request __SIGPENDINGALL, not __SIGPENDING, when fetching signal info for the calling process. Signed-off-by: Corinna Vinschen <corinna@vinschen.de>
This commit is contained in:
parent
312dc2289c
commit
42e23c5ad2
|
@ -1029,7 +1029,7 @@ _pinfo::siginfo (sigset_t &pnd, sigset_t &blk, sigset_t &ign)
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
pnd = sig_send (myself, __SIGPENDING, NULL);
|
pnd = sig_send (myself, __SIGPENDINGALL, NULL);
|
||||||
blk = cygheap->compute_sigblkmask ();
|
blk = cygheap->compute_sigblkmask ();
|
||||||
ign = 0;
|
ign = 0;
|
||||||
for (int sig = 1; sig < NSIG; ++sig)
|
for (int sig = 1; sig < NSIG; ++sig)
|
||||||
|
|
Loading…
Reference in New Issue