[pacman-dev] [PATCH] Handle all POSIX compliant systems in mbscasecmp.

Allan McRae allan at archlinux.org
Thu Jun 23 00:21:18 UTC 2016

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 at stoeckmann.org>



More information about the pacman-dev mailing list