diff options
author | Christopher Faylor <me@cgf.cx> | 2005-09-02 17:12:37 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-09-02 17:12:37 +0000 |
commit | 414808f9e01ce103d2bc67d4ddaa802125ce5512 (patch) | |
tree | 2fc20623e4d929db4b68506c21a5a74edfb41276 /winsup/cygwin/sigproc.cc | |
parent | 8f36ef2f33ab096ea580dc4fdbaf6565b561e65f (diff) | |
download | cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.gz cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.tar.bz2 cygnal-414808f9e01ce103d2bc67d4ddaa802125ce5512.zip |
* Makefile.in (CXXFLAGS): Use 'override' to correctly set flags to generate
dependencies when invoked from top-level make.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 9 |
1 files changed, 9 insertions, 0 deletions
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: |