summaryrefslogtreecommitdiffstats
path: root/winsup/cygwin/pinfo.cc
diff options
context:
space:
mode:
authorChristopher Faylor <me@cgf.cx>2006-02-11 04:53:14 +0000
committerChristopher Faylor <me@cgf.cx>2006-02-11 04:53:14 +0000
commit472130e8978290ef40e5f60058b1784c4149fc9e (patch)
treeb83702ad909a58384f4ee655aaf3cb3f239d7b04 /winsup/cygwin/pinfo.cc
parent5a8a5efcfdca8bd29d653c1aac1aece95e46c3f7 (diff)
downloadcygnal-472130e8978290ef40e5f60058b1784c4149fc9e.tar.gz
cygnal-472130e8978290ef40e5f60058b1784c4149fc9e.tar.bz2
cygnal-472130e8978290ef40e5f60058b1784c4149fc9e.zip
* 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.
Diffstat (limited to 'winsup/cygwin/pinfo.cc')
-rw-r--r--winsup/cygwin/pinfo.cc1
1 files changed, 0 insertions, 1 deletions
diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc
index c71299ff0..146b43238 100644
--- a/winsup/cygwin/pinfo.cc
+++ b/winsup/cygwin/pinfo.cc
@@ -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;
}