diff options
author | Christopher Faylor <me@cgf.cx> | 2001-09-20 20:58:29 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2001-09-20 20:58:29 +0000 |
commit | c50d56bc43deb5299e5e0602a4500aa035d47427 (patch) | |
tree | 8cc975b67f9a1748b1780df461acdf146e90676c /winsup/cygwin/child_info.h | |
parent | b1711a1f96d2059216cedb9dadcb3d9479b4cb9d (diff) | |
download | cygnal-c50d56bc43deb5299e5e0602a4500aa035d47427.tar.gz cygnal-c50d56bc43deb5299e5e0602a4500aa035d47427.tar.bz2 cygnal-c50d56bc43deb5299e5e0602a4500aa035d47427.zip |
* fhandler.cc (fhandler_base::set_inheritance): Just use DUPLICATE_CLOSE_SOURCE
to change inheritance. Eliminate all other logic dealing with closed handles.
* fhandler.h (fhandler_base::set_inheritance): Reflect above change.
* fhandler_tty.cc (fhandler_tty_common::set_close_on_exec): Ditto.
Diffstat (limited to 'winsup/cygwin/child_info.h')
-rw-r--r-- | winsup/cygwin/child_info.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/winsup/cygwin/child_info.h b/winsup/cygwin/child_info.h index 68d1751b0..983675877 100644 --- a/winsup/cygwin/child_info.h +++ b/winsup/cygwin/child_info.h @@ -29,7 +29,7 @@ enum class child_info { public: - DWORD zero[1]; // must be zeroed + DWORD zero[4]; // must be zeroed DWORD cb; // size of this record DWORD type; // type of record int cygpid; // cygwin pid of child process |