[Bug 27761] New: different behaviour for "if" conditions check

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Jul 11 04:24:48 CDT 2011


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

           Summary: different behaviour for "if" conditions check
           Product: Wine
           Version: 1.3.23
          Platform: x86
        OS/Version: Linux
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: cmd
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: iip.umar.rifai at gmail.com


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

-- 
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