[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[SCM] Debian package checker branch, master, updated. 2.5.14-45-gadaab63



The following commit has been merged in the master branch:
commit adaab63d5b7f900edc62895e300fb05a4d8c68db
Author: Niels Thykier <niels@thykier.net>
Date:   Sat Jul 6 11:20:09 2013 +0200

    L::Path: Remove spaces inside \Q...\E for qr overload
    
    The /x modifier does not seem to apply inside a \Q...\E, so \Q$name\E
    and \Q $name \E match two different things.
    
    Signed-off-by: Niels Thykier <niels@thykier.net>

diff --git a/debian/changelog b/debian/changelog
index 4c96392..db47900 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -64,6 +64,8 @@ lintian (2.5.15) UNRELEASED; urgency=low
     + [NT] "binaries" and "binary_field" now only exposes data
       about entries in d/control with a valid package name.
     + [NT] Document that "binaries" return an unorderd list.
+  * lib/Lintian/Path.pm:
+    + [NT] Fix bug in the overloaded qr// operator.
   * lib/Lintian/ProcessablePool.pm:
     + [NT] Fix a bug that could cause .changes files to be
       silently skipped.  This only occured if a related package
diff --git a/lib/Lintian/Path.pm b/lib/Lintian/Path.pm
index 56cac0a..44e8ade 100644
--- a/lib/Lintian/Path.pm
+++ b/lib/Lintian/Path.pm
@@ -280,7 +280,7 @@ sub link_normalized {
 sub _as_regex_ref {
     my ($self) = @_;
     my $name = $self->name;
-    return qr{ \Q $name \E }xsm;
+    return qr{ \Q$name\E }xsm;
 }
 
 sub _as_string {

-- 
Debian package checker


Reply to: