git.samba.org
/
obnox
/
samba-ctdb.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Second part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems.
[obnox/samba-ctdb.git]
/
source3
/
lib
/
ms_fnmatch.c
diff --git
a/source3/lib/ms_fnmatch.c
b/source3/lib/ms_fnmatch.c
index 31c66953a961295706fb0f03b945ec1cc3af420e..bff7382940734f3b26adcaee6aeff21f6816fbd5 100644
(file)
--- a/
source3/lib/ms_fnmatch.c
+++ b/
source3/lib/ms_fnmatch.c
@@
-129,7
+129,7
@@
static int ms_fnmatch_core(const smb_ucs2_t *p, const smb_ucs2_t *n,
if (is_case_sensitive) {
return -1;
}
- if (toupper_
m(c) != toupper_m
(*n)) {
+ if (toupper_
w(c) != toupper_w
(*n)) {
return -1;
}
}