From 4d6308c34fb0182db05846df83118bb83ad5497d Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Thu, 15 Mar 2012 22:39:57 +0100 Subject: [PATCH] Fix false positive with file names containg "cc". For example "test.cc". Also add another non-verbose test. --- bin/blhc | 2 +- t/logs/verbose-build | 2 ++ t/tests.t | 1 + 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index aecc180..d966f93 100755 --- a/bin/blhc +++ b/bin/blhc @@ -242,7 +242,7 @@ while (my $line = <>) { } else { # Ignore lines with no compiler commands. - next if $line !~ /\b(cc|gcc|g\+\+|c\+\+)(\s|\\)/; + next if $line !~ /\b((?