diff options
author | Jeremy Allison <jra@samba.org> | 2011-07-19 13:19:29 -0700 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2011-07-19 13:19:29 -0700 |
commit | ee34c25c8a989b5a7c0ad59d71bb39f8efff045c (patch) | |
tree | 25d8f09ed1c36ad18c8c54d596efeeb6c1aa66b2 /source3/lib/util_str.c | |
parent | 2052c2d6fa830b94a6b6cf8dd48b56f62de4e5ac (diff) | |
download | samba-ee34c25c8a989b5a7c0ad59d71bb39f8efff045c.tar.gz samba-ee34c25c8a989b5a7c0ad59d71bb39f8efff045c.tar.bz2 samba-ee34c25c8a989b5a7c0ad59d71bb39f8efff045c.zip |
First part of fix for bug 8310 - toupper_ascii() is broken on big-endian systems
Remove
int toupper_ascii(int c);
int tolower_ascii(int c);
int isupper_ascii(int c);
int islower_ascii(int c);
and replace with their _m equivalents, as they are identical.
Diffstat (limited to 'source3/lib/util_str.c')
-rw-r--r-- | source3/lib/util_str.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/util_str.c b/source3/lib/util_str.c index a348b389e8..baa5a1f046 100644 --- a/source3/lib/util_str.c +++ b/source3/lib/util_str.c @@ -470,7 +470,7 @@ void strlower_m(char *s) (ie. they match for the first 128 chars) */ while (*s && !(((unsigned char)s[0]) & 0x80)) { - *s = tolower_ascii((unsigned char)*s); + *s = tolower_m((unsigned char)*s); s++; } |