From: markus schnalke Date: Thu, 5 Jan 2012 10:19:22 +0000 (+0100) Subject: Reserved special sequence names may be upper case too. Even without LOCALE. X-Git-Tag: mmh-thesis-end~423 X-Git-Url: http://git.marmaro.de/?a=commitdiff_plain;h=f3db6244253b548f4196ea5cf41f4bc8d400d0c3;p=mmh Reserved special sequence names may be upper case too. Even without LOCALE. --- 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';