http://bugs.winehq.org/show_bug.cgi?id=21381
Summary: call + builtin command doesn't work Product: Wine Version: 1.1.36 Platform: x86 OS/Version: Linux Status: NEW Keywords: download, source Severity: normal Priority: P2 Component: cmd AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
For some bizarre reason, a number of batch files in the wild use "call " in front of a builtin command. This works in native.
Examples: http://www.codeguru.com/forum/showthread.php?t=212052 http://src.chromium.org/svn/trunk/tools/depot_tools/bootstrap/win/win_tools....
http://bugs.winehq.org/show_bug.cgi?id=21381
--- Comment #1 from Dan Kegel dank@kegel.com 2010-01-16 18:32:11 --- BTW, it's documented that CALL expands environment variables. See http://ss64.com/nt/call.html so this is supposed to work, but people sometimes do it even when they don't need to expand variables.
http://bugs.winehq.org/show_bug.cgi?id=21381
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|call + builtin command |call + builtin cmd.exe |doesn't work |command doesn't work
http://bugs.winehq.org/show_bug.cgi?id=21381
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |frederic.delanoy@gmail.com
--- Comment #2 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-07-20 13:40:22 CDT --- On windows, the "call foo" apparently checks if foo exists as a builtin AFTER it tries to find foo in any path directory.
Using foo builtin doesn't look in the path, obviously.
Anyway, "overriding" builtin command names is dubious at best IMHO...
http://bugs.winehq.org/show_bug.cgi?id=21381
--- Comment #3 from Frédéric Delanoy frederic.delanoy@gmail.com 2011-07-22 16:42:02 CDT --- Tests added: http://source.winehq.org/git/wine.git/commitdiff/8f8aa7a35e3436199e83a6b2acb...
http://bugs.winehq.org/show_bug.cgi?id=21381
Frédéric Delanoy frederic.delanoy@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |testcase
http://bugs.winehq.org/show_bug.cgi?id=21381
Jason Edmeades us@edmeades.me.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |3c058185155a24f0e059d55c5d6 | |318bc9a3f6400 Status|NEW |RESOLVED CC| |us@edmeades.me.uk Resolution| |FIXED
--- Comment #4 from Jason Edmeades us@edmeades.me.uk 2012-10-18 14:04:35 CDT --- Should be fixed in git by todays patch
http://bugs.winehq.org/show_bug.cgi?id=21381
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #5 from Alexandre Julliard julliard@winehq.org 2012-10-26 13:29:35 CDT --- Closing bugs fixed in 1.5.16.