23 Jun
2016
23 Jun
'16
12:21 a.m.
On 19/06/16 02:58, Tobias Stoeckmann wrote:
The width of wchar_t is allowed to be of the same width as long, according to standards. The return type of mbscasecmp is int though.
On amd64 with a 32 bit int, this means that mbscasecmp can return zero (indicating that strings are equal) even though the input strings differ.
Signed-off-by: Tobias Stoeckmann <tobias@stoeckmann.org>
Thanks. Allan