http://bugs.winehq.org/show_bug.cgi?id=27934
Summary: Inconsistent "for /D" parsing when using wildcards Product: Wine Version: 1.3.25 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: frederic.delanoy@gmail.com
For instance, for /d %i in (whatever*) do echo %i
gives
wine: cannot find L"C:\windows\system32\do.exe" File not found
http://bugs.winehq.org/show_bug.cgi?id=27934
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |us@edmeades.me.uk
--- Comment #1 from Jason Edmeades us@edmeades.me.uk 2012-09-04 14:34:42 CDT --- So 2 parts to this problem.
Part 1 - cannot execute do.exe is fixed under the 2nd patch for 27894
Part 2 (which this one can cover) is that a zero iteration for loop with /D should not issue an error message
Some limited testing shows in the for 'set' you can have: string - is echoed back as-is, regardless of whether a file with that name exists wildcard - is expanded and may result in zero or more expansions, but no error if it doesnt exist
http://bugs.winehq.org/show_bug.cgi?id=27934
--- Comment #2 from Jason Edmeades us@edmeades.me.uk 2012-09-04 14:40:29 CDT --- Scrub the above... earlier patches DO get rid of the error message about do.exe BUT its still a problem with zero iteration again
http://bugs.winehq.org/show_bug.cgi?id=27934
--- Comment #3 from Jason Edmeades us@edmeades.me.uk 2012-09-04 15:30:14 CDT --- To sum up... 2 issues, same cause: - Zero iteration because wildcard matches nothing - zero iteration because wildcard matches a filename
http://bugs.winehq.org/show_bug.cgi?id=27934
--- Comment #4 from Jason Edmeades us@edmeades.me.uk 2012-09-04 18:04:38 CDT --- http://www.winehq.org/pipermail/wine-patches/2012-September/117514.html
http://bugs.winehq.org/show_bug.cgi?id=27934
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #5 from Jason Edmeades us@edmeades.me.uk 2012-09-05 15:42:00 CDT --- http://www.winehq.org/pipermail/wine-cvs/2012-September/089842.html
http://bugs.winehq.org/show_bug.cgi?id=27934
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |141e33b845bff271fd8aebdd8ec | |24b32a95be454
http://bugs.winehq.org/show_bug.cgi?id=27934
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #6 from Alexandre Julliard julliard@winehq.org 2012-09-14 13:34:05 CDT --- Closing bugs fixed in 1.5.13.