* wait.cc (wait4): Force pending signal delivery before waiting for process

completion.
This commit is contained in:
Christopher Faylor 2002-11-23 20:24:08 +00:00
parent 1d676025c9
commit 4497f2a88d
2 changed files with 6 additions and 0 deletions

View File

@ -1,3 +1,8 @@
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.

View File

@ -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))