From 414808f9e01ce103d2bc67d4ddaa802125ce5512 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 2 Sep 2005 17:12:37 +0000 Subject: * Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate dependencies when invoked from top-level make. --- winsup/cygwin/sigproc.cc | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'winsup/cygwin/sigproc.cc') diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 74ffed179..c7752b882 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -346,6 +346,15 @@ proc_subproc (DWORD what, DWORD val) if (global_sigs[SIGCHLD].sa_handler == (void *) SIG_IGN) for (int i = 0; i < nprocs; i += remove_proc (i)) continue; + break; + case PROC_KILLFORKED: + for (int i = 0; i < nprocs; i++) + if (ISSTATE (procs[i], PID_INITIALIZING)) + { + TerminateProcess (procs[i].hProcess, 1); + procs[i]->process_state = PID_EXITED; + } + break; } out: -- cgit v1.2.3