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

lintian: r392 - in trunk: checks debian



Author: he
Date: 2004-12-25 20:16:59 +0100 (Sat, 25 Dec 2004)
New Revision: 392

Modified:
   trunk/checks/manpages
   trunk/debian/changelog
Log:
checks/manpages:
 + [HE] Skip all comment lines when checking for .so links in manpages.
   Thanks for the report and fix suggestion to Steinar H. Gunderson
   <sgunderson@bigfoot.com>. (Closes: #284662)      



Modified: trunk/checks/manpages
===================================================================
--- trunk/checks/manpages	2004-12-25 12:27:21 UTC (rev 391)
+++ trunk/checks/manpages	2004-12-25 19:16:59 UTC (rev 392)
@@ -197,7 +197,11 @@
 	close MANFILE;
 	# Is it a .so link?
 	if ($size < 256) {
-	    my $first = $manfile[0];
+	    my ($i, $first) = (0, "");
+	    do {
+		$first = $manfile[$i++] || ""; 
+	    } while ($first =~ /^\.\\"/ && $manfile[$i]);
+	    
 	    unless ($first) {
 		tag "empty-manual-page", "$file";
 	    } elsif ($first =~ /^\.so\s+(.+)?$/) {

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-12-25 12:27:21 UTC (rev 391)
+++ trunk/debian/changelog	2004-12-25 19:16:59 UTC (rev 392)
@@ -18,6 +18,9 @@
       thanks. (Closes: #285335)
     + [HE] Emit binary-without-english-manpage if a package only provides
       translated manpages for a binary. (Closes: #259227)
+    + [HE] Skip all comment lines when checking for .so links in manpages.
+      Thanks for the report and fix suggestion to Steinar H. Gunderson
+      <sgunderson@bigfoot.com>. (Closes: #284662)      
   * checks/md5sums: 
     + [HE] Strip off ./ at the beginning of the filenames in md5sums
       files (this seems to happen on some systems, though we don't know



Reply to: