[Bug 33636] wine cmd: invalid behaviour of '&' operator

wine-bugs at winehq.org wine-bugs at winehq.org
Sun Jun 2 03:16:48 CDT 2013


http://bugs.winehq.org/show_bug.cgi?id=33636

--- Comment #1 from Dmitry Utkin <loentar at 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.



More information about the wine-bugs mailing list