[Bug 27741] New: Imbricated for loops parameters not expanded correctly

wine-bugs at winehq.org wine-bugs at winehq.org
Sat Jul 9 02:16:48 CDT 2011


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

           Summary: Imbricated for loops parameters not expanded correctly
           Product: Wine
           Version: 1.3.24
          Platform: All
        OS/Version: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: cmd
        AssignedTo: wine-bugs at winehq.org
        ReportedBy: frederic.delanoy at gmail.com


Created an attachment (id=35491)
 --> (http://bugs.winehq.org/attachment.cgi?id=35491)
+cmd log

Say your test_builtins.cmd looks like

@echo off
for %%i in (A) do (
    for %%j in (A) do (
        call :myFun %%i %%j ))

goto :end
:myFun
echo %1 %2
goto :eof
:end

and the test_builtins.cmd.exp contains "A A" as only line.

Then a test run gives:

batch.c:205: Test failed: unexpected char 0x69 position 0 in line 1 (got 'i A',
wanted 'A A')

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