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

lintian: r1343 - in trunk: checks debian



Author: djpig
Date: 2008-06-07 00:37:26 +0200 (Sat, 07 Jun 2008)
New Revision: 1343

Modified:
   trunk/checks/manpages
   trunk/debian/changelog
Log:
* checks/manpages:
  + Ignore more unicode issues with old man.


Modified: trunk/checks/manpages
===================================================================
--- trunk/checks/manpages	2008-06-06 22:24:57 UTC (rev 1342)
+++ trunk/checks/manpages	2008-06-06 22:37:26 UTC (rev 1343)
@@ -307,7 +307,12 @@
 	    # ignore charset issues with old versions of man for all man pages
 	    # since we can't know, with old versions, whether that was just a
 	    # Unicode issue
-	    next if !$MAN_WARNINGS && /warning: can\'t find numbered character/;
+	    if (!$MAN_WARNINGS and
+		(m/warning: can\'t find numbered character/
+		 or m/a magic token is not allowed in a name/
+		 or m/name expected \(got a magic token\)/)) {
+		next;
+	    }
 	    # ignore common undefined macros from pod2man << Perl 5.10
 	    next if /warning: \`(Tr|IX)\' not defined/;
 	    chomp;

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-06-06 22:24:57 UTC (rev 1342)
+++ trunk/debian/changelog	2008-06-06 22:37:26 UTC (rev 1343)
@@ -25,6 +25,7 @@
       set errors for all man pages with old versions of man and no man
       pages with current versions of man since the new character set
       handling should cope.  (Closes: #474052)
+    + [FL] Ignore more unicode issues with old man.
     + [RA] Warn about inclusion of the country name in the localized man
       page directory unless it's one of the known exceptions.
   * checks/md5sums:


Reply to: