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

[lintian] 02/02: L::Tag::Info: Allow "." chars in manpage references



This is an automated email from the git hooks/post-receive script.

jwilk pushed a commit to branch master
in repository lintian.

commit 52c25702a079bb89f01c107b85dffa07041a7f4f
Author: Jakub Wilk <jwilk@debian.org>
Date:   Mon Feb 29 16:54:21 2016 +0100

    L::Tag::Info: Allow "." chars in manpage references
---
 debian/changelog        | 3 +++
 lib/Lintian/Tag/Info.pm | 2 +-
 2 files changed, 4 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 4e20537..1bc9ae6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,9 @@ lintian (2.5.42) UNRELEASED; urgency=medium
   * doc/lintianrc.example:
     + [NT] Remove LINTIAN_LAB - most people will never need it.
 
+  * lib/Lintian/Tag/Info.pm:
+    + [JW] Allow "." characters in manual page references.
+
  -- Niels Thykier <niels@thykier.net>  Fri, 19 Feb 2016 18:59:49 +0000
 
 lintian (2.5.41) unstable; urgency=medium
diff --git a/lib/Lintian/Tag/Info.pm b/lib/Lintian/Tag/Info.pm
index eefc6b8..7f0844c 100644
--- a/lib/Lintian/Tag/Info.pm
+++ b/lib/Lintian/Tag/Info.pm
@@ -215,7 +215,7 @@ sub _format_reference {
         my $text;
         if ($ref =~ /^([\w-]+)\s+(.+)$/) {
             $text = _manual_reference($1, $2);
-        } elsif ($ref =~ /^([\w_-]+)\((\d\w*)\)$/) {
+        } elsif ($ref =~ /^([\w.-]+)\((\d\w*)\)$/) {
             my ($name, $section) = ($1, $2);
             my $url = $MANURL;
             $url =~ s/NAME/$name/g;

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: