* fhandler_process.cc (format_process_stat): Use cygwin-derived start time even

on NT since it is the logical start time of the "process".
* pinfo.cc (set_myself): Don't set start time when it should have already been
set previously.
This commit is contained in:
Christopher Faylor
2006-02-11 04:53:14 +00:00
parent 5a8a5efcfd
commit 472130e897
3 changed files with 9 additions and 5 deletions

View File

@@ -61,7 +61,6 @@ set_myself (HANDLE h)
/* here if execed */
static pinfo NO_COPY myself_identity;
myself_identity.init (cygwin_pid (myself->dwProcessId), PID_EXECED, NULL);
myself->start_time = time (NULL); /* Register our starting time. */
myself->exec_sendsig = NULL;
myself->exec_dwProcessId = 0;
}