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

[SCM] Debian package checker branch, master, updated. 2.3.4-77-gfff50c3



The following commit has been merged in the master branch:
commit 058bb3594a508a8f2f08fe9229a36efb3c753865
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Fri Apr 2 17:52:35 2010 +0100

    Use == for numeric comparison.

diff --git a/checks/init.d b/checks/init.d
index d24daf3..a4ca6b0 100644
--- a/checks/init.d
+++ b/checks/init.d
@@ -214,7 +214,7 @@ sub check_init {
     my $in_file_test = 0;
     my %needs_fs = ('remote' => 0, 'local' => 0);
     while (defined(my $l = <IN>)) {
-	if ($. eq 1 && $l =~ m,^\#!\s*(/usr/[^\s]+),) {
+	if ($. == 1 && $l =~ m,^\#!\s*(/usr/[^\s]+),) {
 	    tag "init.d-script-uses-usr-interpreter", "/etc/init.d/$_ $1";
 	}
 	if ($l =~ m/^\#\#\# BEGIN INIT INFO/) {
diff --git a/debian/changelog b/debian/changelog
index 145ff36..8d4b6f8 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -22,6 +22,7 @@ lintian (2.4.0) UNRELEASED; urgency=low
       Meskes.
     + [RA] Recognize negated file checks when checking for file sourcing
       without a test.  Thanks, Jérémie Corbier.  (Closes: #575363)
+    + [ADB] Use == for numeric comparison.
   * checks/lintian.desc:
     + [ADB] Remove information about .changes-related tags, now included in
       checks/changes-file.desc

-- 
Debian package checker


Reply to: