aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2004-01-25 05:18:11 +0000
committerChristopher Faylor <me@cgf.cx>2004-01-25 05:18:11 +0000
commit393709b694c708248c9bf25a9172a5eccb07e0b9 (patch)
tree32e2528fb79f00a853c70b864e217916c4529845
parent68b180c42228ff1b7a7f0b5c5bd51de5570f2b7b (diff)
downloadnewlib-393709b694c708248c9bf25a9172a5eccb07e0b9.zip
newlib-393709b694c708248c9bf25a9172a5eccb07e0b9.tar.gz
newlib-393709b694c708248c9bf25a9172a5eccb07e0b9.tar.bz2
* sigproc.cc (proc_subproc): Don't protect *child's* handle.
-rw-r--r--winsup/cygwin/ChangeLog4
-rw-r--r--winsup/cygwin/sigproc.cc1
2 files changed, 4 insertions, 1 deletions
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 <cgf@redhat.com>
+
+ * sigproc.cc (proc_subproc): Don't protect *child's* handle.
+
2004-01-24 Christopher Faylor <cgf@redhat.com>
* 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;