projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ea93e0b
)
(is_char_class_member): Use ISDIGIT_LOCALE instead of
author
Jim Meyering
<jim@meyering.net>
Sat, 14 Dec 1996 05:21:51 +0000
(
05:21
+0000)
committer
Jim Meyering
<jim@meyering.net>
Sat, 14 Dec 1996 05:21:51 +0000
(
05:21
+0000)
ISDIGIT to test for characters in CC_DIGIT class.
src/tr.c
patch
|
blob
|
history
diff --git
a/src/tr.c
b/src/tr.c
index
2fb3696
..
dcd40aa
100644
(file)
--- a/
src/tr.c
+++ b/
src/tr.c
@@
-450,7
+450,7
@@
is_char_class_member (enum Char_class char_class, unsigned int c)
result = ISCNTRL (c);
break;
case CC_DIGIT:
- result = ISDIGIT (c);
+ result = ISDIGIT
_LOCALE
(c);
break;
case CC_GRAPH:
result = ISGRAPH (c);