From: Kazu Hirata Date: Wed, 24 Jan 2001 22:38:31 +0000 (+0000) Subject: 2001-01-24 Kazu Hirata X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=f2125b16fb2c668b46bd0ce31b414e43ffe30fa6;p=pf3gnuchains%2Fpf3gnuchains3x.git 2001-01-24 Kazu Hirata * chew.c: Do not output a trailing whitespace. --- diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index 549cdf6c53..e4b6063754 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-24 Kazu Hirata + + * chew.c: Do not output a trailing whitespace. + 2000-11-06 Nick Clifton * bfd.texinfo: Add GNU Free Documentation License. diff --git a/bfd/doc/chew.c b/bfd/doc/chew.c index 52de92e01e..1511614af2 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)); }