https://bugs.winehq.org/show_bug.cgi?id=39211
Bug ID: 39211 Summary: Test for startupInfo.lpTitle is wrong if CreateProcess is called with lpTitle = NULL. Product: Wine Version: unspecified Hardware: x86 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: kernel32 Assignee: wine-bugs@winehq.org Reporter: andy1.m@gmx.de Distribution: ---
Created attachment 52273 --> https://bugs.winehq.org/attachment.cgi?id=52273 Patch for kernel32_test (startupinfo.lpTitle, NULL)
Call CreateProcess with StartUpInfo.lpTitle = NULL. The new process (GetStartUpInfo) gets for lpTitle the full name of the imagefile. E. g. "D:\winetests_kernel32.exe". The test expects only "winetests_kernel32.exe".
Applied patch tested under win2k3.