* 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 3f6be9a254f9ce52af35caef64a466fa2c7f231d..5c5ccb43b5f51e45f686323a6c5be27ca6c9a7ee 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 54f29e43abb8fd4ac59520e31c5845c384a69d12..a961e418e2f33bab430eebcd1bdb55a0fa3f0506 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
This page took 0.040065 seconds and 4 git commands to generate.