[fixincludes, patch] PR30008 - fixes are not applied to files in non-standard locations (was: fixinclude fnmatch patch)

Daniel Franke franke.daniel@gmail.com
Sat Jan 6 19:10:00 GMT 2007


On Saturday 06 January 2007 19:11, Bruce Korb wrote:
> The attached patch is being applied.  Thank you, Daniel.  Regards, Bruce

I should have been more verbose about that particular minor fix ...

Your patch removes these lines:

-  p_fixd->fd_flags |= FD_SKIP_TEST;
-  return BOOL_FALSE;

in machine_matches(). Without them, I observed that no fixes were applied at 
all. Thus, my patch added 

+  if (have_match == BOOL_FALSE)
+    p_fixd->fd_flags |= FD_SKIP_TEST;

directly after the for-loop to skip any test where "mach" does not match.

Could you please verify?!

Thanks
	Daniel



More information about the Gcc-patches mailing list