diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:08:55 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:08:55 +0000 |
commit | 197b96d06916887c4c167a3ee25edfdb3631ac71 (patch) | |
tree | a80b97e630d7ad60e5479022aef34f3ace3105ab /src/wc.c | |
parent | b3e1ad7a5d972ee947831e9d943a12c239864e72 (diff) | |
download | coreutils-197b96d06916887c4c167a3ee25edfdb3631ac71.tar.xz |
Adjust to today's renaming changes in system.h.
Diffstat (limited to 'src/wc.c')
-rw-r--r-- | src/wc.c | 10 |
1 files changed, 3 insertions, 7 deletions
@@ -38,14 +38,10 @@ #endif #if !defined iswspace && !HAVE_ISWSPACE # define iswspace(wc) \ - ((wc) == to_uchar (wc) && ISSPACE (to_uchar (wc))) + ((wc) == to_uchar (wc) && isspace (to_uchar (wc))) #endif -/* Include this after wctype.h so that we `#undef' ISPRINT - (from Solaris's euc.h, from widec.h, from wctype.h) before - redefining and using it. */ #include "system.h" - #include "error.h" #include "inttostr.h" #include "quote.h" @@ -474,10 +470,10 @@ wc (int fd, char const *file_x, struct fstatus *fstatus) in_word = false; break; default: - if (ISPRINT (to_uchar (p[-1]))) + if (isprint (to_uchar (p[-1]))) { linepos++; - if (ISSPACE (to_uchar (p[-1]))) + if (isspace (to_uchar (p[-1]))) goto word_separator; in_word = true; } |