This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB 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 0/4] bitpos expansion summary reloaded


On Wed, 03 Oct 2012 21:56:27 +0200, Jan Kratochvil wrote:
> > 		grep -q "$loc" splint-bitpos3.locdiff.processed
> 
> This 'grep' has too relaxed search string, for example warnings in "main.c"
> (there are some 'conversion' warnings) will match _29_ other files creating
> false FOUND lines and therefore fogetting about possibly valid type safety
> conversion problems.
> 
> There should be sure some fgrep -q "($loc:" or so.

$loc includes the line number which also can have false positives on partial
match without anchor so probably something like:
	fgrep -q "($loc)"


Thanks,
Jan


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