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

Bug#321650: lintian: should not warn against 8bit chars on translated man pages



Package: lintian
Version: 1.23.11
Severity: normal
Tags: patch

Hi,

translated manual pages are written with non-ASCII characters, so
checks/manpages should not report "can't find numbered character"
errors on them.
Here is a patch.

Denis
--- /usr/share/lintian/checks/manpages.orig	2005-08-06 18:52:09.464071856 +0200
+++ /usr/share/lintian/checks/manpages	2005-08-06 19:00:21.323297888 +0200
@@ -248,6 +248,8 @@
 	    next if /^\s*$/;
 	    # ignore errors from gzip, will be dealt with at other places
 	    next if /^(man|gzip)/;
+	    # ignore 8bit character errors on localized man pages
+	    next if /warning: can't find numbered character/ && $lang ne "";
 	    chomp;
 	    s/^[^:]://o;
 	    tag "manpage-has-errors-from-man", "$file", "$_";

Reply to: