Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems.
authorJeremy Allison <jra@samba.org>
Tue, 19 Jul 2011 20:08:31 +0000 (13:08 -0700)
committerKarolin Seeger <kseeger@samba.org>
Thu, 21 Jul 2011 18:15:02 +0000 (20:15 +0200)
commitbdc078a81e49bce3b51560a75984e0306c387573
tree4f99234d98d33f29cfad7769968d0cc887fb5029
parent5b6a34128a0e0bc33c255dc53c9fb9fd8e6d34d8
Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems.

Re-add:
    smb_ucs2_t toupper_w(smb_ucs2_t v);
    bool isupper_w(smb_ucs2_t v);
    smb_ucs2_t tolower_w(smb_ucs2_t v);
    bool islower_w(smb_ucs2_t v);

and ensure they are called whenever we are operating on smb_ucs2_t
variables. I'd like to make the definition of smb_ucs2_t incompatible
with int and codepoint_t so they can't be mixed, but that's a patch
for another time.
source3/include/proto.h
source3/lib/charcnv.c
source3/lib/ms_fnmatch.c
source3/lib/util_str.c
source3/lib/util_unistr.c