summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Stoeckmann <tobias@stoeckmann.org>2016-06-18 18:58:07 +0200
committerAndrew Gregory <andrew.gregory.8@gmail.com>2017-05-09 05:27:41 +0200
commit21fe34c3a1938a5dedf1ea384573f28cef52b75a (patch)
treee012acb4aac44a14a9035e8d8ad52c7fbb42d8f6 /lib
parent3218360114d0e3a3a965feb2f6fd3f4e2da8c8a0 (diff)
downloadpacman-21fe34c3a1938a5dedf1ea384573f28cef52b75a.tar.gz
pacman-21fe34c3a1938a5dedf1ea384573f28cef52b75a.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> (cherry picked from commit af83a585745d6108d7af2d4a2d1eae9b28a8c4b6)
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions