From 0c04e1006d384e806204b31b15dd5e6d6a31497a Mon Sep 17 00:00:00 2001 From: Simon Ruderich Date: Mon, 26 Mar 2012 04:11:58 +0200 Subject: [PATCH] Be more liberal in non-verbose file name checks. --- bin/blhc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bin/blhc b/bin/blhc index 7b196a0..bfd4be8 100755 --- a/bin/blhc +++ b/bin/blhc @@ -317,7 +317,7 @@ sub is_non_verbose_build { if (defined $file) { # Get filename, we can't use the complete path as only parts of it are # used in the real compiler command. - $file =~ m{/([a-zA-Z0-9._-]+)$}; + $file =~ m{/([^/\s]+)$}; $file = $1; if ($next_line =~ /\Q$file\E/ and $next_line =~ /$cc_regex/o) { -- 2.45.2