summaryrefslogtreecommitdiff
path: root/coreutils
diff options
context:
space:
mode:
authorDenys Vlasenko2009-11-20 19:14:19 +0100
committerDenys Vlasenko2009-11-20 19:14:19 +0100
commitc270454f8f1f33e5438e46cb13bebd8fb190a40a (patch)
tree88b30e299e775cbac784eaf71c1e3c103a43a180 /coreutils
parentad7d94bdc7d6a8ffe798a54f09e1e51dd949c9b7 (diff)
downloadbusybox-c270454f8f1f33e5438e46cb13bebd8fb190a40a.zip
busybox-c270454f8f1f33e5438e46cb13bebd8fb190a40a.tar.gz
fix fallout from isprint() changes
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'coreutils')
-rw-r--r--coreutils/wc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/coreutils/wc.c b/coreutils/wc.c
index 43e8ed4..08f3c2d 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;