* external.cc (fillout_pinfo): Store program name as POSIX path in

ep.progname_long.
This commit is contained in:
Corinna Vinschen 2011-11-28 17:53:18 +00:00
parent c47ec78d7a
commit 8ae61a8d6c
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2011-11-28 Corinna Vinschen <vinschen@redhat.com>
* external.cc (fillout_pinfo): Store program name as POSIX path in
ep.progname_long.
2011-11-28 Corinna Vinschen <vinschen@redhat.com>
* pinfo.cc (pinfo::exit): Call TerminateProcess to avoid potential

View File

@ -99,7 +99,7 @@ fillout_pinfo (pid_t pid, int winpid)
ep.gid32 = p->gid;
ep.progname_long = ep_progname_long_buf;
sys_wcstombs(ep.progname_long, NT_MAX_PATH, p->progname);
mount_table->conv_to_posix_path (p->progname, ep.progname_long, 0);
break;
}
}