diff options
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; |