diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-20 19:14:19 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2009-11-20 19:14:19 +0100 |
commit | c270454f8f1f33e5438e46cb13bebd8fb190a40a (patch) | |
tree | 88b30e299e775cbac784eaf71c1e3c103a43a180 /coreutils/wc.c | |
parent | ad7d94bdc7d6a8ffe798a54f09e1e51dd949c9b7 (diff) | |
download | busybox-w32-c270454f8f1f33e5438e46cb13bebd8fb190a40a.tar.gz busybox-w32-c270454f8f1f33e5438e46cb13bebd8fb190a40a.tar.bz2 busybox-w32-c270454f8f1f33e5438e46cb13bebd8fb190a40a.zip |
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) | |||
129 | --counts[WC_CHARS]; | 129 | --counts[WC_CHARS]; |
130 | goto DO_EOF; /* Treat an EOF as '\r'. */ | 130 | goto DO_EOF; /* Treat an EOF as '\r'. */ |
131 | } | 131 | } |
132 | if (isprint(c)) { | 132 | if (isprint_asciionly(c)) { |
133 | ++linepos; | 133 | ++linepos; |
134 | if (!isspace(c)) { | 134 | if (!isspace(c)) { |
135 | in_word = 1; | 135 | in_word = 1; |