diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-25 03:54:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-25 03:54:50 +0000 |
commit | f8f9b12e6c3641678f931147b3f6f2c69c72201d (patch) | |
tree | 3243412fe0a1f729de76aff3c58103ab64086205 /winsup/cygwin/spawn.cc | |
parent | 8c8d0db462de553d960b45968c3c77bb73b6b170 (diff) | |
download | cygnal-f8f9b12e6c3641678f931147b3f6f2c69c72201d.tar.gz cygnal-f8f9b12e6c3641678f931147b3f6f2c69c72201d.tar.bz2 cygnal-f8f9b12e6c3641678f931147b3f6f2c69c72201d.zip |
* dcrt0.cc (do_exit): Don't bother looking for pgrp children to send SIGHUP if
process has never created any children.
* fork.cc (fork): Set flag indicating that there is another process with our
process group.
* spawn.cc (spawn_guts): Ditto.
* pinfo.h (set_has_pgid_children): New methods for setting when process has
children in its process group.
* syscalls.cc (setpgid): Clear has_gid_children if pgid changes.
Diffstat (limited to 'winsup/cygwin/spawn.cc')
-rw-r--r-- | winsup/cygwin/spawn.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 3afb45d38..2e0490db7 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -678,6 +678,7 @@ skip_arg_parsing: } else { + myself->set_has_pgid_children (); ProtectHandle (pi.hThread); pinfo child (cygpid, 1); if (!child) |