From: David O'Brien Date: Fri, 2 Jun 2000 18:55:04 +0000 (+0000) Subject: * strings.c (isgraphic): Interpret as a printable character, X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6b3bf560900b549065d93d5d43a9b6af0e3a5e95;p=binutils-gdb.git * strings.c (isgraphic): Interpret as a printable character, analogous to . Approved by: Nick Clifton <200005222243.PAA14590@elmo.cygnus.com> --- diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 3f6be9a254f..5c5ccb43b5f 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,8 @@ +2000-06-02 David O'Brien + + * strings.c (isgraphic): Interpret as a printable character, + analogous to . + 2000-05-30 Alan Modra * objdump.c (display_target_list): Use bfd_close_all_done, not diff --git a/binutils/strings.c b/binutils/strings.c index 54f29e43abb..a961e418e2f 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