mirror of
https://github.com/samba-team/samba.git
synced 2025-12-14 20:23:54 +03:00
Removed strupper/strlower macros that automatically map to strupper_m/strlower_m.
I really want people to think about when they're using multibyte strings. Jeremy.
This commit is contained in:
@@ -314,7 +314,7 @@ char *strupper_static(const char *s)
|
||||
static pstring str;
|
||||
|
||||
pstrcpy(str, s);
|
||||
strupper(str);
|
||||
strupper_m(str);
|
||||
|
||||
return str;
|
||||
}
|
||||
@@ -327,9 +327,9 @@ void strnorm(char *s)
|
||||
{
|
||||
extern int case_default;
|
||||
if (case_default == CASE_UPPER)
|
||||
strupper(s);
|
||||
strupper_m(s);
|
||||
else
|
||||
strlower(s);
|
||||
strlower_m(s);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user