]> ruderich.org/simon Gitweb - blhc/blhc.git/commitdiff
Prevent / in extension in file extension regex.
authorSimon Ruderich <simon@ruderich.org>
Mon, 9 Apr 2012 12:47:10 +0000 (14:47 +0200)
committerSimon Ruderich <simon@ruderich.org>
Mon, 9 Apr 2012 12:47:10 +0000 (14:47 +0200)
bin/blhc
t/logs/verbose-build

index 1a3d55c55f7ef70ee7d929a170e27428f1a602a4..829d78252e90548278ee5ca5d12278f9e6b5a41c 100755 (executable)
--- a/bin/blhc
+++ b/bin/blhc
@@ -138,7 +138,7 @@ my $file_extension_regex = qr/
     \s
     \S+             # Filename without extension.
     \.
     \s
     \S+             # Filename without extension.
     \.
-    ([^\\.,;:\s]+)  # File extension.
+    ([^\/\\.,;:\s]+)# File extension.
     (?=\s|\\)       # At end of word. Can't use \b because some files have non
                     # word characters at the end and because \b matches double
                     # extensions (like .cpp.o). Works always as all lines are
     (?=\s|\\)       # At end of word. Can't use \b because some files have non
                     # word characters at the end and because \b matches double
                     # extensions (like .cpp.o). Works always as all lines are
index 1dcb18fd585fd3ce460345d1dfff59133d7a37eb..b6372e0b55362263c3a5e5015ca1417ef1c74be9 100644 (file)
@@ -93,3 +93,4 @@ Compiling Test properties
 Compiling Test sources
 Compiling with GCC now generates lots of new warnings.
 Compiling outside source directory - copying needed files
 Compiling Test sources
 Compiling with GCC now generates lots of new warnings.
 Compiling outside source directory - copying needed files
+Compiling the test favour in /build/buildd-test_42.47-11-amd64/test-42.47/debian/tmp-test