[Bug 53190] New: cmd.exe incorrectly parses a line with nested if commands
https://bugs.winehq.org/show_bug.cgi?id=53190 Bug ID: 53190 Summary: cmd.exe incorrectly parses a line with nested if commands Product: Wine Version: 7.10 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs(a)winehq.org Reporter: bernhardu(a)mailbox.org Distribution: --- Created attachment 72628 --> https://bugs.winehq.org/attachment.cgi?id=72628 example_batch_file.cmd The attached batch file shows on windows the lines A B. But wine gives this output: ---- $ LANG=C wine64 example_batch_file.cmd C:\>if 0 == 0 echo A& (if 0 == 0 (echo B) else (echo C)) A B C Can't recognize ')' as an internal or external command, or batch script. ---- This isse was found during investigation to bug #53155, which leads to an endless loop in this batch file: https://github.com/msys2/MSYS2-packages/blob/fb3dffb7c4583f9b172fb67ba6df585... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53190 Joerg Schiermeier <mywine(a)schiermeier-it.de> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |mywine(a)schiermeier-it.de --- Comment #1 from Joerg Schiermeier <mywine(a)schiermeier-it.de> --- I'm sorry to tell you: this bug still exists in wine v7.13 published on Friday, the 15th of July 2022. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53190 Joel Holdsworth <joel(a)airwebreathe.org.uk> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |joel(a)airwebreathe.org.uk --- Comment #2 from Joel Holdsworth <joel(a)airwebreathe.org.uk> --- *** Bug 53436 has been marked as a duplicate of this bug. *** -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53190 Neko-san <nekoNexus(a)protonmail.ch> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |nekoNexus(a)protonmail.ch -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53190 Vijay Kamuju <infyquest(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED CC| |infyquest(a)gmail.com Fixed by SHA1| |6c39db0ca01a93003d2fbf2581f | |c2c3fcb3266c8 Resolution|--- |FIXED --- Comment #3 from Vijay Kamuju <infyquest(a)gmail.com> --- This is fixed by cmd rewrite - https://source.winehq.org/git/wine.git/commit/6c39db0ca01a93003d2fbf2581fc2c... -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
https://bugs.winehq.org/show_bug.cgi?id=53190 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #4 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 9.12. -- Do not reply to this email, post in Bugzilla using the above URL to reply. You are receiving this mail because: You are watching all bug changes.
participants (1)
-
WineHQ Bugzilla