https://bugs.winehq.org/show_bug.cgi?id=44952
Bug ID: 44952 Summary: Batch with for and if Product: Wine Version: 3.5 Hardware: x86-64 OS: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd Assignee: wine-bugs@winehq.org Reporter: jonathanbelsewir@yahoo.de Distribution: ---
I have a batch-file:
@echo off for %%i in (test) do ( echo before-if: %%i if 1==1 ( echo true ) else ( echo false ) echo after-if ) :end
I get the following wrong output: before-if: test true
The output should be: before-if: test true after-if
https://bugs.winehq.org/show_bug.cgi?id=44952
Fabian Maurer dark.shadow4@web.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW Ever confirmed|0 |1 Summary|Batch with for and if |cmd.exe skips statements | |after if statement inside | |for loop CC| |dark.shadow4@web.de
--- Comment #1 from Fabian Maurer dark.shadow4@web.de --- Confirming
https://bugs.winehq.org/show_bug.cgi?id=44952
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Assignee|wine-bugs@winehq.org |us@edmeades.me.uk CC| |us@edmeades.me.uk
https://bugs.winehq.org/show_bug.cgi?id=44952
--- Comment #2 from Jason Edmeades us@edmeades.me.uk --- https://www.winehq.org/pipermail/wine-devel/2018-July/129538.html
https://bugs.winehq.org/show_bug.cgi?id=44952
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |6cb520476a79fd7ff5a67c1a106 | |4de9c267fdbc1 Resolution|--- |FIXED Status|NEW |RESOLVED
--- Comment #3 from Jason Edmeades us@edmeades.me.uk --- Committed
https://bugs.winehq.org/show_bug.cgi?id=44952
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.13.
https://bugs.winehq.org/show_bug.cgi?id=44952
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |3.0.x
https://bugs.winehq.org/show_bug.cgi?id=44952
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|3.0.x |---
--- Comment #5 from Michael Stefaniuc mstefani@winehq.org --- Removing the 3.0.x milestone from bugs included in 3.0.3.