cmd: Avoid rereading batch file for every call/goto executed (try 2)
frederic.delanoy at gmail.com
Mon Sep 5 02:15:53 CDT 2011
On Mon, Sep 5, 2011 at 06:47, Octavian Voicu <octavian.voicu at gmail.com> wrote:
> 2011/9/5 Frédéric Delanoy <frederic.delanoy at gmail.com>:
>> + 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.
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