[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 f8b093e9fd6d52a6eecce723df63897447f3b296
Author: Adam D. Barratt <adam@adam-barratt.org.uk>
Date:   Fri Apr 2 21:07:11 2010 +0100

    Treat objdump_info()::STACK as a string in all cases
    
    * lib/Lintian/Collect/Binary.pm:
      + [ADB] The STACK element of objdump_info's result is a string not a
        number; treat it as such consistently

diff --git a/debian/changelog b/debian/changelog
index 199122c..e3e0cc3 100755
--- a/debian/changelog
+++ b/debian/changelog
@@ -64,6 +64,9 @@ lintian (2.4.0) UNRELEASED; urgency=low
       Lintian accesses the lab.
   * lib/Lintian/Collect.pm:
     + [ADB] Add support for Lintian::Collect::Changes
+  * lib/Lintian/Collect/Binary.pm:
+    + [ADB] The STACK element of objdump_info's result is a string not a
+      number; treat it as such consistently
   * lib/Lintian/Collect/Changes.pm:
     + [ADB] New module providing information about .changes files and the
       files referenced therein
diff --git a/lib/Lintian/Collect/Binary.pm b/lib/Lintian/Collect/Binary.pm
index 1d2d6d6..91b7b70 100644
--- a/lib/Lintian/Collect/Binary.pm
+++ b/lib/Lintian/Collect/Binary.pm
@@ -239,9 +239,9 @@ sub objdump_info {
 	    } elsif (m/^\s*INTERP\s/) {
 		$file->{INTERP} = 1;
 	    } elsif (m/^\s*STACK\s/) {
-		$file->{STACK} = 0;
+		$file->{STACK} = "0";
 	    } else {
-		if (defined $file->{STACK} and $file->{STACK} eq 0) {
+		if (defined $file->{STACK} and $file->{STACK} eq "0") {
 		    m/\sflags\s+(\S+)/o;
 		    $file->{STACK} = $1;
 		} else {

-- 
Debian package checker


Reply to: