projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
452df42
)
Reserved special sequence names may be upper case too. Even without LOCALE.
author
markus schnalke
<meillo@marmaro.de>
Thu, 5 Jan 2012 10:19:22 +0000
(11:19 +0100)
committer
markus schnalke
<meillo@marmaro.de>
Thu, 5 Jan 2012 10:19:22 +0000
(11:19 +0100)
sbr/m_convert.c
patch
|
blob
|
history
diff --git
a/sbr/m_convert.c
b/sbr/m_convert.c
index
98c4733
..
b42a5aa
100644
(file)
--- 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';