diff options
author | Christopher Faylor <me@cgf.cx> | 2000-10-17 01:42:04 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-10-17 01:42:04 +0000 |
commit | 92e1969051640fe2c25a8862162eb1a59bd0b888 (patch) | |
tree | f5ec28a82dbf3c1d02b647487934de9fc9db57c1 /winsup/cygwin/sigproc.cc | |
parent | 166b2571ce446b4085d4c2067b0d0d36c608f131 (diff) | |
download | cygnal-92e1969051640fe2c25a8862162eb1a59bd0b888.tar.gz cygnal-92e1969051640fe2c25a8862162eb1a59bd0b888.tar.bz2 cygnal-92e1969051640fe2c25a8862162eb1a59bd0b888.zip |
* debug.cc (add_handle): Issue warning on attempts to add the same handle more
than once.
* fhandler_tty.cc (fhandler_tty_slave::open): Protect some handles.
(fhandler_tty_common::close): Use proper name when closing handles.
(fhandler_pty_master::close): Don't close to_slave or from_slave since they've
already been closed earlier in the function.
* sigproc.cc (proc_subproc): Don't protect vchild->hProcess. Expect that the
caller will do this, instead.
* tty.cc (tty_list::terminate): Use proper name when closing handles.
(tty::make_pipes): Protect some handles.
Diffstat (limited to 'winsup/cygwin/sigproc.cc')
-rw-r--r-- | winsup/cygwin/sigproc.cc | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index 1d381d8bb..46f8b6108 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -258,7 +258,6 @@ proc_subproc (DWORD what, DWORD val) pchildren[nchildren] = vchild; hchildren[nchildren] = vchild->hProcess; - ProtectHandle1 (vchild->hProcess, childhProc); if (!DuplicateHandle (hMainProc, vchild->hProcess, hMainProc, &vchild->pid_handle, 0, 0, DUPLICATE_SAME_ACCESS)) system_printf ("Couldn't duplicate child handle for pid %d, %E", vchild->pid); |