Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCorinna Vinschen <corinna@vinschen.de>2022-03-02 11:47:38 +0300
committerCorinna Vinschen <corinna@vinschen.de>2022-03-02 11:48:01 +0300
commit42e23c5ad2641945097699e989427f0f88c7074b (patch)
treef6d697a670d9eaed1a2147970aabc5549935f943
parent312dc2289ce160016ded9eeec16b9dff7c16f7f2 (diff)
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.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index ad65e59c1..4a8daefd9 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)