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

lintian: r292 - in trunk: debian lib



Author: djpig
Date: 2004-06-19 15:39:30 +0200 (Sat, 19 Jun 2004)
New Revision: 292

Modified:
   trunk/debian/changelog
   trunk/lib/Util.pm
Log:
dpkg supports comments in control files now, handle them
correctly


Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog	2004-06-19 10:08:55 UTC (rev 291)
+++ trunk/debian/changelog	2004-06-19 13:39:30 UTC (rev 292)
@@ -90,6 +90,10 @@
       executed as separate executables. Makes it easy to make common functions
       available, tags are done centrally, etc etc. Should also save quite a
       number of forks, thus more speedier.
+  
+  * lib/Util.pm:
+    + [FL] dpkg supports comments in control files now, handle them
+      correctly
 
   * testset/filenames:
     + [JvW] Fix two lintian warnings in lintian itself by touching files only

Modified: trunk/lib/Util.pm
===================================================================
--- trunk/lib/Util.pm	2004-06-19 10:08:55 UTC (rev 291)
+++ trunk/lib/Util.pm	2004-06-19 13:39:30 UTC (rev 292)
@@ -60,6 +60,7 @@
 
 	# tabs at the beginning are illegal, but handle them anyways
 	s/^\t/ \t/o;
+	next if s/^#/; #comment line?
 
 	# empty line?
 	if ((!$debconf_flag && m/^\s*$/) or 



Reply to: