Author: jeroen
Date: 2004-10-13 01:39:39 +0200 (Wed, 13 Oct 2004)
New Revision: 349

Modified:
   trunk/checks/shared-libs
   trunk/debian/changelog
Log:
checks/shared-libraries:
+ [JvW] Ignore comments in shlibs files (Closes: #275124)


Modified: trunk/checks/shared-libs
===================================================================
--- trunk/checks/shared-libs    2004-10-12 23:33:57 UTC (rev 348)
+++ trunk/checks/shared-libs    2004-10-12 23:39:39 UTC (rev 349)
@@ -249,7 +249,7 @@
        open(SHLIBS,$shlibs_control_file) or fail("cannot open shlibs control 
file $shlibs_control_file for reading: $!");
        while (<SHLIBS>) {
            chop;
-           next if m/^\s*$/;
+           next if m/^\s*$/ or /^#/;
            @words = split(/\s+/o,$_);
            if ($shlibs_control{$words[0]}) {
                tag "duplicate-entry-in-shlibs-control-file", "$words[0]";

Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog      2004-10-12 23:33:57 UTC (rev 348)
+++ trunk/debian/changelog      2004-10-12 23:39:39 UTC (rev 349)
@@ -29,6 +29,8 @@
       not php4-cgi, update dependency check accordingly (Closes: #268077)
     + [JvW] Give an error if the 'config' script uses a non-essential
       interpreter (Closes: #274832)
+  * checks/shared-libraries:
+    + [JvW] Ignore comments in shlibs files (Closes: #275124)
 
  -- Jeroen van Wolffelaar <[EMAIL PROTECTED]>  Wed, 13 Oct 2004 01:14:41 +0200
 

Reply via email to