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]
Other format: [Raw text]

Re: [patch] ld/*.[ch]: Fix formatting.


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


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