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

lintian: r1295 - in trunk: checks debian



Author: rra
Date: 2008-05-04 20:18:18 +0200 (Sun, 04 May 2008)
New Revision: 1295

Modified:
   trunk/checks/menus
   trunk/debian/changelog
Log:
* checks/menus:
  + [RA] Stop using a deprecated Perl construct that Perl 5.10 no longer
    supports.  Patch from Adam D. Barratt.  (Closes: #479318)

Modified: trunk/checks/menus
===================================================================
--- trunk/checks/menus	2008-05-01 20:13:54 UTC (rev 1294)
+++ trunk/checks/menus	2008-05-04 18:18:18 UTC (rev 1295)
@@ -415,14 +415,14 @@
         my $leadsp_ok = 1;     # are spaces OK?
 
         # Intentionally skipping the first line.
-        for my $idx (1 .. $#{@$vals}) {
+        for my $idx (1 .. $#{$vals}) {
             $_ = $vals->[$idx];
             if (/manage\s+online\s+manuals\s.*Debian/o) {
                 tag "doc-base-abstract-field-is-template", "$dbfile:$line"
                     unless $pkg eq "doc-base";
             } elsif (/^(\s+)\.(\s*)$/o and ($1 ne " " or $2)) {
                 tag "doc-base-abstract-field-separator-extra-whitespaces",
-                    "$dbfile:" . ($line - $#{@$vals} + $idx);
+                    "$dbfile:" . ($line - $#{$vals} + $idx);
             } elsif (!$leadsp && /^(\s+)(\S)/o) {
                 # The regexp should always match.
                 ($leadsp, $charafter) = ($1, $2);

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2008-05-01 20:13:54 UTC (rev 1294)
+++ trunk/debian/changelog	2008-05-04 18:18:18 UTC (rev 1295)
@@ -5,6 +5,9 @@
   * checks/copyright-file:
     + [FL] Also apply the "possible-gpl-code-linked-with-openssl" checks
       to Pre-Depends.
+  * checks/menus:
+    + [RA] Stop using a deprecated Perl construct that Perl 5.10 no longer
+      supports.  Patch from Adam D. Barratt.  (Closes: #479318)
   * checks/version-substvars:
     + [FL] Also apply the "not-binnmuable-*" checks to Pre-Depends.
       (Closes: #472247)


Reply to: