2001-01-24 Kazu Hirata <kazu@hxi.com>
authorKazu Hirata <kazu@codesourcery.com>
Wed, 24 Jan 2001 22:38:31 +0000 (22:38 +0000)
committerKazu Hirata <kazu@codesourcery.com>
Wed, 24 Jan 2001 22:38:31 +0000 (22:38 +0000)
* chew.c: Do not output a trailing whitespace.

bfd/doc/ChangeLog
bfd/doc/chew.c

index 549cdf6c5399b81eac90597e57fe082bb60f4e56..e4b60637548db75c56a09dcea7669365f8f9a632 100644 (file)
@@ -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.
index 52de92e01e00e6306226d9e59b78f331fcef287d..1511614af2e3bbf1a0b20678e1261b1237870b5f 100644 (file)
@@ -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));
        }
 
This page took 0.024603 seconds and 4 git commands to generate.