diff options
author | Corinna Vinschen <corinna@vinschen.de> | 2022-03-02 09:47:38 +0100 |
---|---|---|
committer | Corinna Vinschen <corinna@vinschen.de> | 2022-03-02 09:48:01 +0100 |
commit | 42e23c5ad2641945097699e989427f0f88c7074b (patch) | |
tree | f6d697a670d9eaed1a2147970aabc5549935f943 | |
parent | 312dc2289ce160016ded9eeec16b9dff7c16f7f2 (diff) | |
download | newlib-42e23c5ad2641945097699e989427f0f88c7074b.zip newlib-42e23c5ad2641945097699e989427f0f88c7074b.tar.gz newlib-42e23c5ad2641945097699e989427f0f88c7074b.tar.bz2 |
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>
-rw-r--r-- | winsup/cygwin/pinfo.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index ad65e59..4a8daef 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -1029,7 +1029,7 @@ _pinfo::siginfo (sigset_t &pnd, sigset_t &blk, sigset_t &ign) } else { - pnd = sig_send (myself, __SIGPENDING, NULL); + pnd = sig_send (myself, __SIGPENDINGALL, NULL); blk = cygheap->compute_sigblkmask (); ign = 0; for (int sig = 1; sig < NSIG; ++sig) |