[cmd] Don't change case of the batch filename

Alexandre Julliard julliard at winehq.org
Thu Feb 18 10:01:10 CST 2010


Paul Vriens <paul.vriens.wine at gmail.com> writes:

> On 02/18/2010 03:33 PM, Alexandre Julliard wrote:
>> Paul Vriens<paul.vriens.wine at gmail.com>  writes:
>>
>>>> In any case the test environment needs to be comparing paths in a
>>>> case-insensitive way, it doesn't make sense to require exact case.
>>>
>>> So the memcmp needs to change into some strcmp form?
>>
>> Yes, though you probably need CompareString.
>>
>
> Could you think of a reason we need the extension checking in WCMD_batch() ?
>
> I did some (small) tests and it seems like we could remove those
> checks as WCMD_run_program() already seems to figure this out when it
> calls WCMD_batch().

It looks like it's not needed. The case of calling a label in the same
file would still set the wrong name, but not worse than it is now...

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list