Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems.
commit93dcfdea389098fd802cc4f5be8d5d578454d624
authorJeremy Allison <jra@samba.org>
Tue, 19 Jul 2011 20:35:45 +0000 (19 13:35 -0700)
committerJeremy Allison <jra@samba.org>
Tue, 19 Jul 2011 21:48:05 +0000 (19 23:48 +0200)
treebd7b211fa51d285dcd0605483e99db5d2ef9f948
parentee34c25c8a989b5a7c0ad59d71bb39f8efff045c
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);

and ensure it is 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.

Autobuild-User: Jeremy Allison <jra@samba.org>
Autobuild-Date: Tue Jul 19 23:48:05 CEST 2011 on sn-devel-104
lib/util/charset/charset.h
lib/util/charset/util_unistr_w.c
source3/lib/charcnv.c
source3/lib/ms_fnmatch.c