From 393709b694c708248c9bf25a9172a5eccb07e0b9 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sun, 25 Jan 2004 05:18:11 +0000 Subject: * sigproc.cc (proc_subproc): Don't protect *child's* handle. --- winsup/cygwin/ChangeLog | 4 ++++ winsup/cygwin/sigproc.cc | 1 - 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 6ba73b9..9289a4a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2004-01-25 Christopher Faylor + + * sigproc.cc (proc_subproc): Don't protect *child's* handle. + 2004-01-24 Christopher Faylor * fhandler.h (fhandler_base::fhaccess): Return int for compatibility diff --git a/winsup/cygwin/sigproc.cc b/winsup/cygwin/sigproc.cc index a7ace07..b9debc5 100644 --- a/winsup/cygwin/sigproc.cc +++ b/winsup/cygwin/sigproc.cc @@ -339,7 +339,6 @@ proc_subproc (DWORD what, DWORD val) if (!DuplicateHandle (hMainProc, hMainProc, vchild->hProcess, &vchild->ppid_handle, SYNCHRONIZE | PROCESS_DUP_HANDLE, TRUE, 0)) system_printf ("Couldn't duplicate my handle<%p> for pid %d, %E", hMainProc, vchild->pid); - VerifyHandle (vchild->ppid_handle); vchild->ppid = myself->pid; vchild->uid = myself->uid; vchild->gid = myself->gid; -- cgit v1.1