This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: [patch] ld/*.[ch]: Fix formatting.
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: Kazu Hirata <kazu at cs dot umass dot edu>
- Cc: binutils at sources dot redhat dot com
- Date: Fri, 3 May 2002 23:07:55 +0930
- Subject: Re: [patch] ld/*.[ch]: Fix formatting.
- References: <20020503.074108.126569973.kazu@cs.umass.edu>
On Fri, May 03, 2002 at 07:41:08AM -0400, Kazu Hirata wrote:
> * ld.h: Fix formatting.
> * ldexp.c: Likewise.
> * ldfile.c: Likewise.
> * ldlang.c: Likewise.
> * ldmain.c: Likewise.
> * lexsup.c: Likewise.
> * pe-dll.c: Likewise.
OK.
> Index: pe-dll.c
> @@ -484,13 +484,13 @@
> afptr = autofilter_symbolsuffixlist;
> while (afptr->name)
> {
> - if ((len >= afptr->len) &&
> + if ((len >= afptr->len) &&
> /* Add 1 to insure match with trailing '\0'. */
> - strncmp (n + len - afptr->len, afptr->name,
> + strncmp (n + len - afptr->len, afptr->name,
Would you mine fixing the trailing `&&' and excess parentheses
while you're at it?
--
Alan Modra
IBM OzLabs - Linux Technology Centre