* pinfo.cc (set_myself): Use a more foolproof method for determining if the
current process was started from another cygiwn process.
This commit is contained in:
parent
505ccc75c4
commit
e09c8fde55
|
@ -1,3 +1,8 @@
|
|||
2006-12-18 Christopher Faylor <me@cgf.cx>
|
||||
|
||||
* pinfo.cc (set_myself): Use a more foolproof method for determining if
|
||||
the current process was started from another cygiwn process.
|
||||
|
||||
2006-12-15 Pierre A. Humblet <Pierre.Humblet@ieee.org>
|
||||
|
||||
* libc/minires-os-if.c (cygwin_query): Remove ERROR_PROC_NOT_FOUND case.
|
||||
|
|
|
@ -64,7 +64,8 @@ set_myself (HANDLE h)
|
|||
myself->exec_sendsig = NULL;
|
||||
myself->exec_dwProcessId = 0;
|
||||
}
|
||||
else if (!myself->wr_proc_pipe)
|
||||
else if (!child_proc_info) /* child_proc_info is only set when this process
|
||||
was started by another cygwin process */
|
||||
myself->start_time = time (NULL); /* Register our starting time. */
|
||||
else if (cygheap->pid_handle)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue