diff options
Diffstat (limited to 'binutils')
-rw-r--r-- | binutils/ChangeLog | 5 | ||||
-rw-r--r-- | binutils/strings.c | 4 |
2 files changed, 7 insertions, 2 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3f6be9a..5c5ccb4 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-06-02 David O'Brien <obrien@FreeBSD.org> + + * strings.c (isgraphic): Interpret <TAB> as a printable character, + analogous to <SPACE>. + 2000-05-30 Alan Modra <alan@linuxcare.com.au> * objdump.c (display_target_list): Use bfd_close_all_done, not 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 |