diff options
author | Jeremy Allison <jra@samba.org> | 2005-12-27 20:52:36 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:05:58 -0500 |
commit | 5a4881bf396e691524329bcd6aa1ae4a7f4084ec (patch) | |
tree | ea2cce14847e28629ec48f2a70f547bdbb08fe98 /source3/web | |
parent | d186ff50721011f839a02aaac4866201eda23034 (diff) | |
download | samba-5a4881bf396e691524329bcd6aa1ae4a7f4084ec.tar.gz samba-5a4881bf396e691524329bcd6aa1ae4a7f4084ec.tar.bz2 samba-5a4881bf396e691524329bcd6aa1ae4a7f4084ec.zip |
r12522: Try and fix bug #2926 by removing setlocale(LC_ALL, "C")
and replace calls to isupper/islower/toupper/tolower with
ASCII equivalents (mapping into _w variants).
Jeremy.
(This used to be commit c2752347eb2deeb2798c580ec7fc751a847717e9)
Diffstat (limited to 'source3/web')
-rw-r--r-- | source3/web/swat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/web/swat.c b/source3/web/swat.c index 15612484a3..3806291a6a 100644 --- a/source3/web/swat.c +++ b/source3/web/swat.c @@ -103,7 +103,7 @@ static char *stripspaceupper(const char *str) char *p = newstring; while (*str) { - if (*str != ' ') *p++ = toupper(*str); + if (*str != ' ') *p++ = toupper_ascii(*str); ++str; } *p = '\0'; |