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

lintian: r985 - in trunk: checks debian



Author: rra
Date: 2007-10-16 06:17:22 +0200 (Tue, 16 Oct 2007)
New Revision: 985

Modified:
   trunk/checks/menu-format
   trunk/debian/changelog
Log:
  + [RA] Fix Perl flow error when skipping some desktop files.

Modified: trunk/checks/menu-format
===================================================================
--- trunk/checks/menu-format	2007-10-16 04:13:26 UTC (rev 984)
+++ trunk/checks/menu-format	2007-10-16 04:17:22 UTC (rev 985)
@@ -774,7 +774,7 @@
     close DESKTOP;
 
     # Now validate the data in the desktop file, but only if it's a known type.
-    next unless ($vals{'Type'} and $known_desktop_types{$vals{'Type'}});
+    return unless ($vals{'Type'} and $known_desktop_types{$vals{'Type'}});
 
     # Test for important keys.
     for my $tag (@req_desktop_keys) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2007-10-16 04:13:26 UTC (rev 984)
+++ trunk/debian/changelog	2007-10-16 04:17:22 UTC (rev 985)
@@ -18,13 +18,14 @@
     + [RA] Remove Actions from known desktop keys again, as I believe the
       root problem was our willingness to inspect desktop types other than
       Application (also fixed in the previous release).
+    + [RA] Fix Perl flow error when skipping some desktop files.
 
   * lib/Dep.pm:
     + [RA] Fix negative implication in some boundary cases when comparing
       two versioned relationships in the same direction.  Thanks to
       Raphael Hertzog for the analysis and fix.  (Closes: #446768)
 
- -- Russ Allbery <rra@debian.org>  Mon, 15 Oct 2007 21:13:15 -0700
+ -- Russ Allbery <rra@debian.org>  Mon, 15 Oct 2007 21:17:15 -0700
 
 lintian (1.23.35) unstable; urgency=low
 



Reply to: