summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authormckay <mckay@FreeBSD.org>1998-12-14 13:27:48 +0000
committermckay <mckay@FreeBSD.org>1998-12-14 13:27:48 +0000
commit8b8a9278a4b5eb4ef07bfbcc3b0a7711d92c8b3f (patch)
tree65d44df8dfbe715669dd74acb46e8de0efbf33fb /contrib
parent09cea3a47dca29a81b388e4790cdcdffef39f247 (diff)
downloadFreeBSD-src-8b8a9278a4b5eb4ef07bfbcc3b0a7711d92c8b3f.zip
FreeBSD-src-8b8a9278a4b5eb4ef07bfbcc3b0a7711d92c8b3f.tar.gz
Restore traditional behaviour by allowing tabs in strings. In deference
to the new age of internationalisation, I used isblank() instead of a literal '\t'.
Diffstat (limited to 'contrib')
-rw-r--r--contrib/binutils/binutils/strings.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/binutils/binutils/strings.c b/contrib/binutils/binutils/strings.c
index d6a011b..603841e 100644
--- a/contrib/binutils/binutils/strings.c
+++ b/contrib/binutils/binutils/strings.c
@@ -59,9 +59,9 @@
#include "libiberty.h"
#ifdef isascii
-#define isgraphic(c) (isascii (c) && isprint (c))
+#define isgraphic(c) (isascii (c) && (isprint (c) || isblank (c)))
#else
-#define isgraphic(c) (isprint (c))
+#define isgraphic(c) (isprint (c) || isblank (c))
#endif
#ifndef errno
OpenPOWER on IntegriCloud