OSDN Git Service

* wait.cc (wait4): Force pending signal delivery before waiting for process
authorcgf <cgf>
Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)
committercgf <cgf>
Sat, 23 Nov 2002 20:24:08 +0000 (20:24 +0000)
completion.

winsup/cygwin/ChangeLog
winsup/cygwin/wait.cc

index 286df58..df099b0 100644 (file)
@@ -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>
index 9040dc5..a4e7c60 100644 (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))