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

lintian: r566 - in trunk: debian frontend



Author: rra
Date: 2006-03-05 09:21:05 +0100 (Sun, 05 Mar 2006)
New Revision: 566

Modified:
   trunk/debian/changelog
   trunk/frontend/lintian-info
Log:
* frontends/lintian-info:
  + [RA] Avoid Perl uninitialized value warnings when given output that
    looks like lintian messages without tags.  (Closes: #352606)

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2006-03-05 08:11:34 UTC (rev 565)
+++ trunk/debian/changelog	2006-03-05 08:21:05 UTC (rev 566)
@@ -36,6 +36,10 @@
     + [JvW] Fix postinst-must-call-ldconfig to also get emitted when there is
       no postinst at all, instead of just one lacking a ldconfig call
 
+  * frontends/lintian-info:
+    + [RA] Avoid Perl uninitialized value warnings when given output that
+      looks like lintian messages without tags.  (Closes: #352606)
+
   * testset/runtests:
     + [RA] Filter out dpkg-source warnings about unsigned source packages.
 

Modified: trunk/frontend/lintian-info
===================================================================
--- trunk/frontend/lintian-info	2006-03-05 08:11:34 UTC (rev 565)
+++ trunk/frontend/lintian-info	2006-03-05 08:21:05 UTC (rev 566)
@@ -48,6 +48,7 @@
     my ($type, $pkg, @pieces) = split(/:\s+/);
     if ($type =~ m/^[OEWIX]$/) {
 	$tag = shift @pieces;
+	next if not defined $tag;
 	($tag) = split(/\s+/, $tag, 2);
 
 	next if not exists $tag_info{$tag} or $already_displayed{$tag}++;



Reply to: