projects
/
platform
/
upstream
/
coreutils.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8c572b8
)
(unexpand): Don't assume that isprint etc. return
author
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 9 Jul 2006 17:05:13 +0000
(17:05 +0000)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Sun, 9 Jul 2006 17:05:13 +0000
(17:05 +0000)
booleans (needed for pre-C99 hosts).
src/unexpand.c
patch
|
blob
|
history
diff --git
a/src/unexpand.c
b/src/unexpand.c
index d22aead8bdbaaaa509bc6507e409e51ad3fa0ad5..cbceca0f4ad049ca33bf01bb12d6b9193c7fb5ef 100644
(file)
--- 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)
{