From 55755b03cde03c69e562d4b0508cce1bd186e8e6 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 9 Jul 2006 17:02:53 +0000 Subject: (expand): Don't assume that isprint etc. return booleans (needed for pre-C99 hosts). --- src/expand.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/expand.c') diff --git a/src/expand.c b/src/expand.c index b1b100422..564520376 100644 --- a/src/expand.c +++ b/src/expand.c @@ -1,5 +1,5 @@ /* expand - convert tabs to spaces - Copyright (C) 89, 91, 1995-2005 Free Software Foundation, Inc. + Copyright (C) 89, 91, 1995-2006 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by @@ -157,7 +157,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); @@ -352,7 +352,7 @@ expand (void) error (EXIT_FAILURE, 0, _("input line is too long")); } - convert &= convert_entire_line | ISBLANK (c); + convert &= convert_entire_line | !! isblank (c); } if (c < 0) -- cgit v1.2.3-54-g00ecf