shell32/tests: Fix a race condition in the DDE ShellExecute() tests on Windows 10.
Even if we have a results file after a failed ShellExecuteEx() call, it may not correspond to the last call and should thus be ignored. Signed-off-by: Francois Gouget <fgouget@free.fr> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
794ad86fec
commit
15d9a4a711
|
@ -650,7 +650,7 @@ static INT_PTR shell_execute_ex_(const char* file, int line,
|
|||
* functions know about it
|
||||
*/
|
||||
WritePrivateProfileStringA(NULL, NULL, NULL, child_file);
|
||||
if (GetFileAttributesA(child_file) != INVALID_FILE_ATTRIBUTES)
|
||||
if (rc > 32 && GetFileAttributesA(child_file) != INVALID_FILE_ATTRIBUTES)
|
||||
{
|
||||
int c;
|
||||
dump_child_(file, line);
|
||||
|
|
Loading…
Reference in New Issue