[Bug 33636] New: wine cmd: invalid behaviour of '&' operator
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(a)winehq.org ReportedBy: loentar(a)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 ) -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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.
http://bugs.winehq.org/show_bug.cgi?id=33636 --- Comment #1 from Dmitry Utkin <loentar(a)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. -- Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email 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=33636 jontyspam-bugzilla(a)yahoo.co.uk changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jontyspam-bugzilla(a)yahoo.co | |.uk --- Comment #2 from jontyspam-bugzilla(a)yahoo.co.uk --- Just to confirm that I have hit the same bug. Precedence problem between IF and & -- 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=33636 Jactry Zeng <jactry92(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92(a)gmail.com -- 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=33636 Hao Peng <penghao(a)linuxdeepin.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |penghao(a)linuxdeepin.com -- 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=33636 David Korth <gerbilsoft(a)gerbilsoft.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gerbilsoft(a)gerbilsoft.com --- Comment #3 from David Korth <gerbilsoft(a)gerbilsoft.com> --- *** Bug 40181 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=33636 Carlos Rafael Ramirez <crramirez(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |crramirez(a)gmail.com -- 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=33636 winetest(a)luukku.com changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |dimesio(a)earthlink.net, | |winetest(a)luukku.com --- Comment #4 from winetest(a)luukku.com --- http://source.winehq.org/git/wine.git/commit/55be713d76bef86ba7577c810a9dbdf... -- 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=33636 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |fracting(a)gmail.com --- Comment #5 from Bruno Jesus <00cpxxx(a)gmail.com> --- *** Bug 40483 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=33636 Bruno Jesus <00cpxxx(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED Status|UNCONFIRMED |RESOLVED Fixed by SHA1| |55be713d76bef86ba7577c810a9 | |dbdfb071fc179 --- Comment #6 from Bruno Jesus <00cpxxx(a)gmail.com> --- (In reply to winetest from comment #4)
http://source.winehq.org/git/wine.git/commit/ 55be713d76bef86ba7577c810a9dbdfb071fc179
Fixed. -- 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=33636 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #7 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 1.9.24. -- 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=33636 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x -- 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=33636 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #8 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.6. -- 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)
-
wine-bugs@winehq.org