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@winehq.org ReportedBy: iip.umar.rifai@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
http://bugs.winehq.org/show_bug.cgi?id=27761
--- Comment #1 from Iip Umar Rifai iip.umar.rifai@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
http://bugs.winehq.org/show_bug.cgi?id=27761
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |NEW CC| |nerv@dawncrow.de Ever Confirmed|0 |1
--- Comment #2 from André H. nerv@dawncrow.de 2011-07-11 15:22:14 CDT --- confirming just sent http://www.winehq.org/pipermail/wine-patches/2011-July/104213.html a WINEDEBUG=cmd trace easily shows the problem
http://bugs.winehq.org/show_bug.cgi?id=27761
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download, source, testcase CC| |frederic.delanoy@gmail.com
http://bugs.winehq.org/show_bug.cgi?id=27761
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-09-08 15:22:20 CDT --- Fixed by http://source.winehq.org/git/wine.git/commitdiff/712276c7bf561ae3bf34e851c1d...
http://bugs.winehq.org/show_bug.cgi?id=27761
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #4 from Alexandre Julliard julliard@winehq.org 2011-09-09 12:54:43 CDT --- Closing bugs fixed in 1.3.28.
https://bugs.winehq.org/show_bug.cgi?id=27761
André H. nerv@dawncrow.de changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |712276c7bf561ae3bf34e851c1d | |794568cd5b8f7