diff options
author | Tobias Stoeckmann <tobias@stoeckmann.org> | 2016-06-18 18:58:07 +0200 |
---|---|---|
committer | Allan McRae <allan@archlinux.org> | 2016-08-30 10:10:40 +0200 |
commit | af83a585745d6108d7af2d4a2d1eae9b28a8c4b6 (patch) | |
tree | 8a5349da8c49faabedd363b8acd6b2729288868d /lib/libalpm | |
parent | 5fcd60e2641c9293c2783aad509baf217e77aa6f (diff) | |
download | pacman-af83a585745d6108d7af2d4a2d1eae9b28a8c4b6.tar.gz pacman-af83a585745d6108d7af2d4a2d1eae9b28a8c4b6.tar.xz |
Handle all POSIX compliant systems in mbscasecmp.
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>
Signed-off-by: Allan McRae <allan@archlinux.org>
Diffstat (limited to 'lib/libalpm')
0 files changed, 0 insertions, 0 deletions