lib: Stay ASCII-compatible for toupper_m/tolower_m
[samba.git] / lib / util / charset / codepoints.c
index 3f380b9fed6a762057b1cfe80edd0779c3129f56..c35241e298331550f47f4076b478cdce8a1d84f9 100644 (file)
@@ -16441,9 +16441,6 @@ void smb_init_locale(void)
 **/
 _PUBLIC_ codepoint_t toupper_m(codepoint_t val)
 {
-       if (val < 128) {
-               return toupper(val);
-       }
        if (val >= ARRAY_SIZE(upcase_table)) {
                return val;
        }
@@ -16455,9 +16452,6 @@ _PUBLIC_ codepoint_t toupper_m(codepoint_t val)
 **/
 _PUBLIC_ codepoint_t tolower_m(codepoint_t val)
 {
-       if (val < 128) {
-               return tolower(val);
-       }
        if (val >= ARRAY_SIZE(lowcase_table)) {
                return val;
        }