From 4497f2a88d350c6c78d078e01fbca90c49213d71 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 23 Nov 2002 20:24:08 +0000 Subject: * wait.cc (wait4): Force pending signal delivery before waiting for process completion. --- winsup/cygwin/wait.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'winsup/cygwin/wait.cc') 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)) -- cgit v1.2.3