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:
authorChristopher Faylor <me@cgf.cx>2002-11-23 23:24:08 +0300
committerChristopher Faylor <me@cgf.cx>2002-11-23 23:24:08 +0300
commit4497f2a88d350c6c78d078e01fbca90c49213d71 (patch)
tree8db35468eee7ecf2316d3456281bf9cc99b74f4b
parent1d676025c9458c7144f200e8ab160e1bf9177f93 (diff)
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.
-rw-r--r--winsup/cygwin/ChangeLog5
-rw-r--r--winsup/cygwin/wait.cc1
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog
index 286df5831..df099b0a8 100644
--- a/winsup/cygwin/ChangeLog
+++ b/winsup/cygwin/ChangeLog
@@ -1,5 +1,10 @@
2002-11-23 Christopher Faylor <cgf@redhat.com>
+ * wait.cc (wait4): Force pending signal delivery before waiting for
+ process completion.
+
+2002-11-23 Christopher Faylor <cgf@redhat.com>
+
* include/cygwin/version.h: Bump DLL minor number.
2002-11-22 Christopher Faylor <cgf@redhat.com>
diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc
index 9040dc527..a4e7c60a2 100644
--- a/winsup/cygwin/wait.cc
+++ b/winsup/cygwin/wait.cc
@@ -53,6 +53,7 @@ wait4 (int intpid, int *status, int options, struct rusage *r)
while (1)
{
+ sig_dispatch_pending (0);
sigframe thisframe (mainthread);
sawsig = 0;
if (options & ~(WNOHANG | WUNTRACED))