This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [fixincludes, patch] PR30008 - fixes are not applied to files in non-standard locations (was: fixinclude fnmatch patch)
- From: Daniel Franke <franke dot daniel at gmail dot com>
- To: bkorb at gnu dot org
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sat, 6 Jan 2007 20:09:43 +0100
- Subject: Re: [fixincludes, patch] PR30008 - fixes are not applied to files in non-standard locations (was: fixinclude fnmatch patch)
- References: <200701061544.14147.franke.daniel@gmail.com> <459FE651.8080008@gnu.org>
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