mirror of
git://sourceware.org/git/newlib-cygwin.git
synced 2025-02-18 23:12:15 +08:00
* sigproc.cc (proc_subproc): Don't protect *child's* handle.
This commit is contained in:
parent
9157f0f3ec
commit
6bc774fc6b
@ -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>
|
2004-01-24 Christopher Faylor <cgf@redhat.com>
|
||||||
|
|
||||||
* fhandler.h (fhandler_base::fhaccess): Return int for compatibility
|
* fhandler.h (fhandler_base::fhaccess): Return int for compatibility
|
||||||
|
@ -320,7 +320,6 @@ proc_subproc (DWORD what, DWORD val)
|
|||||||
if (!DuplicateHandle (hMainProc, hMainProc, vchild->hProcess, &vchild->ppid_handle,
|
if (!DuplicateHandle (hMainProc, hMainProc, vchild->hProcess, &vchild->ppid_handle,
|
||||||
SYNCHRONIZE | PROCESS_DUP_HANDLE, TRUE, 0))
|
SYNCHRONIZE | PROCESS_DUP_HANDLE, TRUE, 0))
|
||||||
system_printf ("Couldn't duplicate my handle<%p> for pid %d, %E", hMainProc, vchild->pid);
|
system_printf ("Couldn't duplicate my handle<%p> for pid %d, %E", hMainProc, vchild->pid);
|
||||||
VerifyHandle (vchild->ppid_handle);
|
|
||||||
vchild->ppid = myself->pid;
|
vchild->ppid = myself->pid;
|
||||||
vchild->uid = myself->uid;
|
vchild->uid = myself->uid;
|
||||||
vchild->gid = myself->gid;
|
vchild->gid = myself->gid;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user