Package: lintian Version: 1.23.24 Severity: minor Tags: patch Hi,
If a xx.po file is not a real PO file, the following warnings are raised: Use of uninitialized value in substitution (s///) at /usr/share/lintian/checks/po-debconf line 126. Use of uninitialized value in pattern match (m//) at /usr/share/lintian/checks/po-debconf line 128. I found this by checking aolserver4 with lintian (debian/po/vi.po is in fact an html file). The attached patch should fix the problem. Cheers, -- Thomas Huriaux
--- /usr/share/lintian/checks/po-debconf 2006-05-17 04:09:04.000000000 +0200 +++ po-debconf.new 2006-09-13 22:20:02.000000000 +0200 @@ -122,6 +122,10 @@ while (<PO>) { last if m/^msgstr/m; } + unless ($_) { + tag "invalid-po-file", "debian/po/$file"; + next; + } close(PO); s/"\n"//g; my $charset = '';
signature.asc
Description: Digital signature