21 Aug
2023
21 Aug
'23
11 a.m.
Jacek Caban (@jacek) commented about dlls/ntdll/unix/process.c:
{ if (!(pid = fork())) /* grandchild */ { - if (params->ConsoleFlags || + if (params->ProcessGroupId == GetCurrentProcessId() ||
`GetCurrentProcessId()` will return parent process ID at this stage. Should we use something like `peb->ProcessParameters->ProcessGroupId` here instead? -- https://gitlab.winehq.org/wine/wine/-/merge_requests/3442#note_42842