diff options
author | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:05:13 +0000 |
---|---|---|
committer | Paul Eggert <eggert@cs.ucla.edu> | 2006-07-09 17:05:13 +0000 |
commit | c7a6c4014f2f487f180a05159ef4a5dfbf2ac9e6 (patch) | |
tree | 9f708ddeed8908ff55acb55586b5485a4661a1c4 /src | |
parent | 8c572b86f6e1e396137f90c2f34e8769cb7395c5 (diff) | |
download | coreutils-c7a6c4014f2f487f180a05159ef4a5dfbf2ac9e6.tar.xz |
(unexpand): Don't assume that isprint etc. return
booleans (needed for pre-C99 hosts).
Diffstat (limited to 'src')
-rw-r--r-- | src/unexpand.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/unexpand.c b/src/unexpand.c index d22aead8b..cbceca0f4 100644 --- a/src/unexpand.c +++ b/src/unexpand.c @@ -176,7 +176,7 @@ parse_tab_stops (char const *stops) for (; *stops; stops++) { - if (*stops == ',' || ISBLANK (to_uchar (*stops))) + if (*stops == ',' || isblank (to_uchar (*stops))) { if (have_tabval) add_tab_stop (tabval); @@ -348,7 +348,7 @@ unexpand (void) if (convert) { - bool blank = ISBLANK (c); + bool blank = !! isblank (c); if (blank) { |