cmd: Avoid rereading batch file for every call/goto executed (try 2)

Frédéric Delanoy frederic.delanoy at
Mon Sep 5 02:15:53 CDT 2011

On Mon, Sep 5, 2011 at 06:47, Octavian Voicu <octavian.voicu at> wrote:
> 2011/9/5 Frédéric Delanoy <frederic.delanoy at>:
>> +        static WCHAR string[MAX_PATH];
> Why make this static? It's only a temporary buffer and it's only used
> once, when building the cache.

Yeah true.
Bad copy-paste from old WCMD_goto, although making it non-static won't
change much, save conserving some memory.

Will resubmit without the "static" part.


More information about the wine-devel mailing list