[patch] doc/chew.c: Do not output a trailing whitespace.

Nick Clifton nickc@redhat.com
Wed Jan 24 11:41:00 GMT 2001


Hi Kazu,

: Attached is a patch to omit a trailing whitespace in files generated 
: by chew.c.  OK to apply?

A couple of points:

  * Judging by the other uses of isspace() in that code you ought to
    cast the rturn type of at() to (unsigned char).

  * This patch will only skip the very last trailing whitespace
    character.  If there are two or more trailing whitespace
    characters, the others will still be emitted.

: 2001-01-24  Kazu Hirata  <kazu@hxi.com>
: 
: 	* chew.c: Do not output a trailing whitespace.

Approved.

Cheers
	Nick


More information about the Binutils mailing list