* strings.c (isgraphic): Interpret <TAB> as a printable character,
authorDavid O'Brien <obrien@FreeBSD.org>
Fri, 2 Jun 2000 18:55:04 +0000 (18:55 +0000)
committerDavid O'Brien <obrien@FreeBSD.org>
Fri, 2 Jun 2000 18:55:04 +0000 (18:55 +0000)
analogous to <SPACE>.

Approved by: Nick Clifton <nickc@cygnus.com>
<200005222243.PAA14590@elmo.cygnus.com>

binutils/ChangeLog
binutils/strings.c

index 3f6be9a..5c5ccb4 100644 (file)
@@ -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
index 54f29e4..a961e41 100644 (file)
@@ -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