* external.cc (fillout_pinfo): Use correct pids.

* path.cc (mount_info::conv_to_win32_path): Correct test for whether to include
a slash.
This commit is contained in:
Christopher Faylor
2001-05-11 21:01:44 +00:00
parent 37922e1277
commit c3a245f5bf
3 changed files with 11 additions and 3 deletions

View File

@ -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;