diff options
author | Christopher Faylor <me@cgf.cx> | 2002-11-23 23:24:08 +0300 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-11-23 23:24:08 +0300 |
commit | 4497f2a88d350c6c78d078e01fbca90c49213d71 (patch) | |
tree | 8db35468eee7ecf2316d3456281bf9cc99b74f4b /winsup | |
parent | 1d676025c9458c7144f200e8ab160e1bf9177f93 (diff) |
* wait.cc (wait4): Force pending signal delivery before waiting for process
completion.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/wait.cc | 1 |
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)) |