* external.cc (fillout_pinfo): Store program name as POSIX path in
ep.progname_long.
This commit is contained in:
parent
c47ec78d7a
commit
8ae61a8d6c
|
@ -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>
|
2011-11-28 Corinna Vinschen <vinschen@redhat.com>
|
||||||
|
|
||||||
* pinfo.cc (pinfo::exit): Call TerminateProcess to avoid potential
|
* pinfo.cc (pinfo::exit): Call TerminateProcess to avoid potential
|
||||||
|
|
|
@ -99,7 +99,7 @@ fillout_pinfo (pid_t pid, int winpid)
|
||||||
ep.gid32 = p->gid;
|
ep.gid32 = p->gid;
|
||||||
|
|
||||||
ep.progname_long = ep_progname_long_buf;
|
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;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue