Bug#347999: manpage-has-errors-from-man: temp file not removed from the extra information
Package: lintian
Version: 1.23.14
Severity: normal
Tags: patch
Hi,
When man returns an error (on a compressed manpage), the errors starts
with the roff filename (which points to a temporary file when the manpage
is compressed).
The attached patch fixes a typo in the manpage check, which caused the
roff filename not to be removed from the extra informations lintian
displays.
Without this patch, I can't remove the following warning:
W: passwd: manpage-has-errors-from-man usr/share/man/de/man1/passwd.1.gz /tmp/zman11fUeg:143: missing closing delimiter
-- System Information:
Debian Release: testing/unstable
APT prefers unstable
APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.14
Locale: LANG=fr_FR.UTF-8, LC_CTYPE=fr_FR.UTF-8 (charmap=UTF-8)
Versions of packages lintian depends on:
ii binutils 2.16.1cvs20051214-1 The GNU assembler, linker and bina
ii diffstat 1.41-1 produces graph of changes introduc
ii dpkg-dev 1.13.11 package building tools for Debian
ii file 4.15-2 Determines file type using "magic"
ii gettext 0.14.5-2 GNU Internationalization utilities
ii intltool-debian 0.34.1+20050828 Help i18n of RFC822 compliant conf
ii libparse-debianchang 1.0-1 parse Debian changelogs and output
ii man-db 2.4.3-3 The on-line manual pager
ii perl [libdigest-md5- 5.8.7-10 Larry Wall's Practical Extraction
lintian recommends no packages.
-- no debconf information
Thanks in advance,
--
Nekral
diff -rauN ../orig/lintian-1.23.14/checks/manpages ./lintian-1.23.14/checks/manpages
--- ../orig/lintian-1.23.14/checks/manpages 2005-08-12 21:49:07.000000000 +0200
+++ ./lintian-1.23.14/checks/manpages 2006-01-13 23:44:21.000000000 +0100
@@ -251,7 +251,7 @@
# ignore 8bit character errors on localized man pages
next if /warning: can\'t find numbered character/ && $lang ne "";
chomp;
- s/^[^:]://o;
+ s/^[^:]+://o;
tag "manpage-has-errors-from-man", "$file", "$_";
last;
}
Reply to: