summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJim Meyering <jim@meyering.net>1996-12-14 05:21:51 +0000
committerJim Meyering <jim@meyering.net>1996-12-14 05:21:51 +0000
commit4ecb3b28f1ca63755f232e0681d5c9ba1c9fbc90 (patch)
tree1a5ddff9f12940a20c4213e26de373260e1337d9 /src
parentea93e0b7adfe4775e3cf0fb17943d7a34ee29cac (diff)
downloadcoreutils-4ecb3b28f1ca63755f232e0681d5c9ba1c9fbc90.tar.xz
(is_char_class_member): Use ISDIGIT_LOCALE instead of
ISDIGIT to test for characters in CC_DIGIT class.
Diffstat (limited to 'src')
-rw-r--r--src/tr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tr.c b/src/tr.c
index 2fb369675..dcd40aa97 100644
--- 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);