public inbox for cygwin-cvs@sourceware.org
help / color / mirror / Atom feed
* [newlib-cygwin] Cygwin: _pinfo::siginfo: fix sig_send call
@ 2022-03-02 8:53 Corinna Vinschen
0 siblings, 0 replies; only message in thread
From: Corinna Vinschen @ 2022-03-02 8:53 UTC (permalink / raw)
To: cygwin-cvs
https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=42e23c5ad2641945097699e989427f0f88c7074b
commit 42e23c5ad2641945097699e989427f0f88c7074b
Author: Corinna Vinschen <corinna@vinschen.de>
Date: Wed Mar 2 09:47:38 2022 +0100
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>
Diff:
---
winsup/cygwin/pinfo.cc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
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)
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-03-02 8:53 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-03-02 8:53 [newlib-cygwin] Cygwin: _pinfo::siginfo: fix sig_send call Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).