lintian: r444 - in trunk: checks debian
Author: cjwatson
Date: 2005-07-22 13:30:06 +0200 (Fri, 22 Jul 2005)
New Revision: 444
Modified:
trunk/checks/control-file
trunk/debian/changelog
Log:
* checks/control-file:
+ [CW] Break control paragraphs at lines containing only whitespace, not
just on zero-length lines. (Closes: #319370)
Modified: trunk/checks/control-file
===================================================================
--- trunk/checks/control-file 2005-07-11 13:19:15 UTC (rev 443)
+++ trunk/checks/control-file 2005-07-22 11:30:06 UTC (rev 444)
@@ -38,6 +38,8 @@
my $seen_fields = {};
open (CONTROL, "debfiles/control") or fail "Couldn't read debfiles/control: $!";
while (<CONTROL>) {
+ s/\s*\n$//;
+
#Reset seen_fields if we enter a new section:
$seen_fields = {} if /^$/;
Modified: trunk/debian/changelog
===================================================================
--- trunk/debian/changelog 2005-07-11 13:19:15 UTC (rev 443)
+++ trunk/debian/changelog 2005-07-22 11:30:06 UTC (rev 444)
@@ -1,3 +1,11 @@
+lintian (1.23.12) UNRELEASED; urgency=low
+
+ * checks/control-file:
+ + [CW] Break control paragraphs at lines containing only whitespace, not
+ just on zero-length lines. (Closes: #319370)
+
+ -- Colin Watson <cjwatson@debian.org> Fri, 22 Jul 2005 12:22:45 +0100
+
lintian (1.23.11) unstable; urgency=low
* checks/common_data.pm:
Reply to: