This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] doc/chew.c: Do not output a trailing whitespace.
- To: kazu at isuzu dot hxi dot com
- Subject: Re: [patch] doc/chew.c: Do not output a trailing whitespace.
- From: Nick Clifton <nickc at redhat dot com>
- Date: Wed, 24 Jan 2001 11:41:23 -0800
- CC: binutils at sources dot redhat dot com
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