From f3db6244253b548f4196ea5cf41f4bc8d400d0c3 Mon Sep 17 00:00:00 2001 From: markus schnalke Date: Thu, 5 Jan 2012 11:19:22 +0100 Subject: [PATCH] Reserved special sequence names may be upper case too. Even without LOCALE. --- sbr/m_convert.c | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/sbr/m_convert.c b/sbr/m_convert.c index 98c4733..b42a5aa 100644 --- a/sbr/m_convert.c +++ b/sbr/m_convert.c @@ -270,13 +270,7 @@ m_conv(struct msgs *mp, char *str, int call) return BADNUM; } -#ifdef LOCALE - /* doesn't enforce lower case */ - for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); ) -#else - for (bp = buf; islower(*cp) && (bp - buf < sizeof(buf) - 1); ) -#endif /* LOCALE */ - { + for (bp = buf; isalpha(*cp) && (bp - buf < sizeof(buf) - 1); ) { *bp++ = *cp++; } *bp++ = '\0'; -- 1.7.10.4