From 05c6581e28a1d6ca8db3514a09b3bee2c4c7b9ee Mon Sep 17 00:00:00 2001 From: Kazu Hirata Date: Wed, 24 Jan 2001 22:38:31 +0000 Subject: 2001-01-24 Kazu Hirata * chew.c: Do not output a trailing whitespace. --- bfd/doc/chew.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bfd/doc/chew.c') diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c index 52de92e..1511614 100644 --- a/bfd/doc/chew.c +++ b/bfd/doc/chew.c @@ -515,6 +515,10 @@ paramstuff (void) for (idx = 0; idx < fname; idx++) /* Output type */ { + /* Omit a trailing whitespace. */ + if (idx + 1 == fname && isspace ((unsigned char) at (tos, idx))) + break; + catchar (&out, at (tos, idx)); } -- cgit v1.1