http://bugs.winehq.org/show_bug.cgi?id=33636
Bug #: 33636 Summary: wine cmd: invalid behaviour of '&' operator Product: Wine Version: 1.5.29 Platform: x86-64 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: loentar@gmail.com Classification: Unclassified
Commands after '&' is executed, even under negative 'if'.
if "0"=="1" echo 1 & echo 2
Will output "2", but must not output nothing, because this line is equivalent to
if "0"=="1" ( echo 1 echo 2 )
http://bugs.winehq.org/show_bug.cgi?id=33636
--- Comment #1 from Dmitry Utkin loentar@gmail.com 2013-06-02 03:16:48 CDT --- Affected app: Windows SDK v7.1 (possibly v7.0a too).
SetEnv.cmd has those lines:
-- :Parse_Args IF /I "%~1"=="/debug" SET "Configuration=Debug" & SHIFT & GOTO Parse_Args --
When SetEnv.cmd script is started under wine cmd it goes into infinite loop, because "SHIFT & GOTO Parse_Args" is executed even if "IF /I..." condition is not met.
https://bugs.winehq.org/show_bug.cgi?id=33636
jontyspam-bugzilla@yahoo.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jontyspam-bugzilla@yahoo.co | |.uk
--- Comment #2 from jontyspam-bugzilla@yahoo.co.uk --- Just to confirm that I have hit the same bug. Precedence problem between IF and &
https://bugs.winehq.org/show_bug.cgi?id=33636
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33636
Hao Peng penghao@linuxdeepin.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |penghao@linuxdeepin.com
https://bugs.winehq.org/show_bug.cgi?id=33636
David Korth gerbilsoft@gerbilsoft.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |gerbilsoft@gerbilsoft.com
--- Comment #3 from David Korth gerbilsoft@gerbilsoft.com --- *** Bug 40181 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33636
Carlos Rafael Ramirez crramirez@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |crramirez@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=33636
winetest@luukku.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio@earthlink.net, | |winetest@luukku.com
--- Comment #4 from winetest@luukku.com --- http://source.winehq.org/git/wine.git/commit/55be713d76bef86ba7577c810a9dbdf...
https://bugs.winehq.org/show_bug.cgi?id=33636
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com --- *** Bug 40483 has been marked as a duplicate of this bug. ***
https://bugs.winehq.org/show_bug.cgi?id=33636
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |55be713d76bef86ba7577c810a9 | |dbdfb071fc179
--- Comment #6 from Bruno Jesus 00cpxxx@gmail.com --- (In reply to winetest from comment #4)
http://source.winehq.org/git/wine.git/commit/ 55be713d76bef86ba7577c810a9dbdfb071fc179
Fixed.
https://bugs.winehq.org/show_bug.cgi?id=33636
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #7 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 1.9.24.
https://bugs.winehq.org/show_bug.cgi?id=33636
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x
https://bugs.winehq.org/show_bug.cgi?id=33636
Michael Stefaniuc mstefani@redhat.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |---
--- Comment #8 from Michael Stefaniuc mstefani@redhat.com --- Removing 1.8.x milestone from bugs included in 1.8.6.