[Bug 27761] different behaviour for "if" conditions check
wine-bugs at winehq.org
wine-bugs at winehq.org
Mon Jul 11 04:35:58 CDT 2011
http://bugs.winehq.org/show_bug.cgi?id=27761
--- Comment #1 from Iip Umar Rifai <iip.umar.rifai at gmail.com> 2011-07-11 04:35:58 CDT ---
(In reply to comment #0)
> If conditions has different result between windows and wine, I think due to '/'
> (slash) issue, below is an example:
> ----------------------------------
> D:\>if 1==1 echo ok
> ok
>
> D:\>if c==c echo ok
> ok
>
> D:\>if c==1 echo ok
>
> D:\>if /c==/c echo ok <--this one is problem, but works on Windows
>
>
> D:\>if /c==/c echo ok
> ok
>
> D:\>if "/c"=="/c" echo ok
> ok
Sorry, the last two command should be
----------------------------------
D:\>if '/c'=='/c' echo ok
ok
D:\>if "/c"=="/c" echo ok
ok
--
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