diff options
author | David O'Brien <obrien@FreeBSD.org> | 2000-06-02 18:55:04 +0000 |
---|---|---|
committer | David O'Brien <obrien@FreeBSD.org> | 2000-06-02 18:55:04 +0000 |
commit | 6b3bf560900b549065d93d5d43a9b6af0e3a5e95 (patch) | |
tree | 8b0da25fbacb6482f0082238224ee7363af30cf8 /binutils/strings.c | |
parent | 5fec0fc5d1339dc41a6eed37803610eb2b9a00c5 (diff) | |
download | gdb-6b3bf560900b549065d93d5d43a9b6af0e3a5e95.zip gdb-6b3bf560900b549065d93d5d43a9b6af0e3a5e95.tar.gz gdb-6b3bf560900b549065d93d5d43a9b6af0e3a5e95.tar.bz2 |
* strings.c (isgraphic): Interpret <TAB> as a printable character,
analogous to <SPACE>.
Approved by: Nick Clifton <nickc@cygnus.com>
<200005222243.PAA14590@elmo.cygnus.com>
Diffstat (limited to 'binutils/strings.c')
-rw-r--r-- | binutils/strings.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/strings.c b/binutils/strings.c index 54f29e4..a961e41 100644 --- a/binutils/strings.c +++ b/binutils/strings.c @@ -77,9 +77,9 @@ #endif #ifdef isascii -#define isgraphic(c) (isascii (c) && isprint (c)) +#define isgraphic(c) (isascii (c) && (isprint (c) || (c) == '\t')) #else -#define isgraphic(c) (isprint (c)) +#define isgraphic(c) (isprint (c) || (c) == '\t') #endif #ifndef errno |