cabinet: Include wine/port.h for strcasecmp().

Kirill K. Smirnov lich at math.spbu.ru
Sun Feb 3 05:33:53 CST 2008


>The rules are as follows:

> * For case insensitive comparisons of 'windows strings', a Windows 
>   function must be used (stricmp() or similar).

and

>In this case, KERNEL32 lstrcmpiA() would be more appropriate. In
>general, using stricmp() in Win32 code should be discouraged since it
>may cause unnecessary dependency on MSVCRT.

Wine lstrcmpi is broken (bug #10767). There are cases GLIBC strcasecmp and 
Windows lstrcmpi handle correctly but wine not. Should we fix this first?

--
Kirill



More information about the wine-devel mailing list