6 Nov
2004
6 Nov
'04
5:59 p.m.
On Saturday 6 November 2004 15:52, Dmitry Timoshkov wrote:
+ else if(!strcasecmp(argv[i]+2, "b+!"))
Please use lstrcmpiA instead of strcasecmp. A difference between unix system locale and current ANSI code page in Wine might lead to undesired side effects.
Here's a patch relative to my previous patch that replaces all occurrences of strcasecmp with lstrcmpiA. It also introduces MSIEXEC_lstrncmpiA (wrapper around CompareString) to replace all occurrences of strncasecmp. Changelog: Use string functions that are Windows locale aware.