From c3a245f5bf92f48a2f9e3b2b59fcff400cb91b7e Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Fri, 11 May 2001 21:01:44 +0000 Subject: * external.cc (fillout_pinfo): Use correct pids. * path.cc (mount_info::conv_to_win32_path): Correct test for whether to include a slash. --- winsup/cygwin/external.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'winsup/cygwin/external.cc') diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 9f4683583..cd624d179 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -49,8 +49,8 @@ fillout_pinfo (pid_t pid, int winpid) { if (!nextpid && thispid != (DWORD) pid) continue; - ep.pid = thispid; - ep.dwProcessId = cygwin_pid (thispid); + ep.pid = cygwin_pid (thispid); + ep.dwProcessId = thispid; ep.process_state = PID_IN_USE; ep.ctty = -1; break; -- cgit v1.2.3