add better tolower to go with the toupper

This commit is contained in:
Anthony Minessale
2013-01-08 14:21:41 -06:00
parent 30e4c71bbe
commit 17b9f68f80
2 changed files with 72 additions and 3 deletions

View File

@@ -2656,7 +2656,7 @@ const short _switch_C_tolower_[1 + SWITCH_CTYPE_NUM_CHARS] = {
const short *_switch_tolower_tab_ = _switch_C_tolower_;
SWITCH_DECLARE(int) switch_tolower(int c)
SWITCH_DECLARE(int) old_switch_tolower(int c)
{
if ((unsigned int) c > 255)
return (c);