diff options
author | Kazu Hirata <kazu@codesourcery.com> | 2001-01-24 22:38:31 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@codesourcery.com> | 2001-01-24 22:38:31 +0000 |
commit | 05c6581e28a1d6ca8db3514a09b3bee2c4c7b9ee (patch) | |
tree | d7e1ef8f8f5cabf90c14b7d92ad4e4e0cf0338b4 /bfd | |
parent | f4d650ecb379a6d7d92e60d43d9c9773a192395e (diff) | |
download | gdb-05c6581e28a1d6ca8db3514a09b3bee2c4c7b9ee.zip gdb-05c6581e28a1d6ca8db3514a09b3bee2c4c7b9ee.tar.gz gdb-05c6581e28a1d6ca8db3514a09b3bee2c4c7b9ee.tar.bz2 |
2001-01-24 Kazu Hirata <kazu@hxi.com>
* chew.c: Do not output a trailing whitespace.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/doc/ChangeLog | 4 | ||||
-rw-r--r-- | bfd/doc/chew.c | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index 549cdf6..e4b6063 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,3 +1,7 @@ +2001-01-24 Kazu Hirata <kazu@hxi.com> + + * chew.c: Do not output a trailing whitespace. + 2000-11-06 Nick Clifton <nickc@redhat.com> * bfd.texinfo: Add GNU Free Documentation License. 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)); } |