forked from Mirrors/wine-wine
ad4516ff51
On Windows, processes are not reassigned to pid 1 when their parent
dies. This means many processes could have the same ppid despite being
started by unrelated processes. It also means test_Toolhelp() cannot
reliably look up the nested process by its ppid.
So look up for the nested process by its pid and only then check its
ppid, executable file, etc.
Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=48664
Signed-off-by: Francois Gouget <fgouget@codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
(cherry picked from commit
|
||
---|---|---|
.. | ||
nls | ||
tests | ||
Makefile.in | ||
actctx.c | ||
atom.c | ||
comm.c | ||
computername.c | ||
console.c | ||
console_private.h | ||
cpu.c | ||
debugger.c | ||
editline.c | ||
environ.c | ||
file.c | ||
format_msg.c | ||
heap.c | ||
kernel32.spec | ||
kernel_main.c | ||
kernel_private.h | ||
lcformat.c | ||
locale.c | ||
locale_rc.rc | ||
lzexpand.c | ||
module.c | ||
nameprep.c | ||
path.c | ||
powermgnt.c | ||
process.c | ||
profile.c | ||
resource.c | ||
string.c | ||
sync.c | ||
tape.c | ||
term.c | ||
thread.c | ||
time.c | ||
toolhelp.c | ||
version.c | ||
version.rc | ||
virtual.c | ||
volume.c | ||
wer.c | ||
winerror.mc |