https://bugs.winehq.org/show_bug.cgi?id=47274
Bug ID: 47274 Summary: Windows XP's cmd.exe doesn't execute batch files anymore Product: Wine Version: 4.4 Hardware: x86 OS: Linux Status: NEW Keywords: regression Severity: normal Priority: P2 Component: advapi32 Assignee: wine-bugs@winehq.org Reporter: gabrielopcode@gmail.com CC: hans@meelstraat.net Regression SHA1: 8021d449f4a02aa5e44476e9f9c98e5641e596a2 Distribution: ---
Since wine-4.4, Windows XP's cmd.exe doesn't execute batch files anymore, it simply silently fails and does nothing. A regression test pin-pointed the issue:
8021d449f4a02aa5e44476e9f9c98e5641e596a2 is the first bad commit commit 8021d449f4a02aa5e44476e9f9c98e5641e596a2 Author: Hans Leidekker hans@codeweavers.com Date: Wed Mar 6 10:14:27 2019 +0100
advapi32: Add a stub implementation of SaferIdentifyLevel.
Signed-off-by: Hans Leidekker hans@codeweavers.com Signed-off-by: Alexandre Julliard julliard@winehq.org
Reverting the patch to a stub is necessary. Changing the return value to FALSE does not work. I'm not sure how else to fix this since it's just a stub, and similar stubs (like SaferComputeTokenFromLevel) don't seem to have a problem. Having those return FALSE doesn't seem to help either.