This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

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


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

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]