diff options
author | Jeremy Allison <jra@samba.org> | 2005-12-27 20:52:36 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2005-12-27 20:52:36 +0000 |
commit | c4f6089fb3a71e642ba3ab988758dacf6c07bc86 (patch) | |
tree | f0f957d3aca809dfdb85e5c999c39384c5a57f84 /source/web | |
parent | c38ad8b70e0cb4f193240f198221e2f7b05c8227 (diff) | |
download | samba-c4f6089fb3a71e642ba3ab988758dacf6c07bc86.tar.gz samba-c4f6089fb3a71e642ba3ab988758dacf6c07bc86.tar.xz samba-c4f6089fb3a71e642ba3ab988758dacf6c07bc86.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.
Diffstat (limited to 'source/web')
-rw-r--r-- | source/web/swat.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/web/swat.c b/source/web/swat.c index 15612484a35..3806291a6ad 100644 --- a/source/web/swat.c +++ b/source/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'; |