]> git.ipfire.org Git - thirdparty/coreutils.git/commitdiff
(check_punctuation): Use ISPUNCT instead of ispunct.
authorJim Meyering <jim@meyering.net>
Sat, 7 Sep 1996 17:27:25 +0000 (17:27 +0000)
committerJim Meyering <jim@meyering.net>
Sat, 7 Sep 1996 17:27:25 +0000 (17:27 +0000)
(get_line): Use ISSPACE instead of isspace.

src/fmt.c

index e09c9958b2caf635923f99dbc1f4327f7150efcd..bc8be686486884f3672ac3a84e04311b62ee5320 100644 (file)
--- a/src/fmt.c
+++ b/src/fmt.c
@@ -631,7 +631,7 @@ get_line (FILE *f, register int c)
          *wptr++ = c;
          c = getc (f);
        }
-      while (c != EOF && !isspace (c));
+      while (c != EOF && !ISSPACE (c));
       in_column += word_limit->length = wptr - word_limit->text;
       check_punctuation (word_limit);
 
@@ -715,7 +715,7 @@ check_punctuation (register WORD *w)
   start = w->text;
   finish = start + (w->length - 1);
   w->paren = isopen (*start);
-  w->punct = ispunct (*finish);
+  w->punct = ISPUNCT (*finish);
   while (isclose (*finish) && finish > start)
     finish--;
   w->period = isperiod (*finish);