diff options
author | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
---|---|---|
committer | H.J. Lu <hjl@lucon.org> | 2001-09-19 05:33:36 +0000 |
commit | 75e56203c5a58ad68a2015e0c7da2590093a3ec0 (patch) | |
tree | e91126f6df5579aaae921d5b82dc556b8c174966 /gas/listing.c | |
parent | 196eb9fb0228e90f1f5c43a65372657f443580da (diff) | |
download | binutils-redhat-75e56203c5a58ad68a2015e0c7da2590093a3ec0.tar.gz |
Locale changes from Bruno Haible <haible@clisp.cons.org>.
Diffstat (limited to 'gas/listing.c')
-rw-r--r-- | gas/listing.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/gas/listing.c b/gas/listing.c index 7aeb3fc28d..f8847d9a20 100644 --- a/gas/listing.c +++ b/gas/listing.c @@ -91,10 +91,9 @@ Software Foundation, 59 Temple Place - Suite 330, Boston, MA on a line */ -#include <ctype.h> - #include "as.h" #include <obstack.h> +#include "safe-ctype.h" #include "input-file.h" #include "subsegs.h" @@ -370,7 +369,7 @@ listing_newline (ps) unsigned char c = *src++; /* Omit control characters in the listing. */ - if (isascii (c) && ! iscntrl (c)) + if (!ISCNTRL (c)) *dest++ = c; } @@ -908,7 +907,7 @@ debugging_pseudo (list, line) was_debug = in_debug; in_debug = 0; - while (isspace ((unsigned char) *line)) + while (ISSPACE (*line)) line++; if (*line != '.') |