diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-20 21:14:19 +0300 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-20 21:14:19 +0300 |
commit | c270454f8f1f33e5438e46cb13bebd8fb190a40a (patch) | |
tree | 88b30e299e775cbac784eaf71c1e3c103a43a180 /coreutils/wc.c | |
parent | ad7d94bdc7d6a8ffe798a54f09e1e51dd949c9b7 (diff) |
fix fallout from isprint() changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils/wc.c')
-rw-r--r-- | coreutils/wc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c index 43e8ed492..08f3c2dc4 100644 --- a/coreutils/wc.c +++ b/coreutils/wc.c @@ -129,7 +129,7 @@ int wc_main(int argc UNUSED_PARAM, char **argv) --counts[WC_CHARS]; goto DO_EOF; /* Treat an EOF as '\r'. */ } - if (isprint(c)) { + if (isprint_asciionly(c)) { ++linepos; if (!isspace(c)) { in_word = 1; |