From: Joerg Jaspert Date: Fri, 27 May 2011 17:00:34 +0000 (+0200) Subject: a newline is ONE char, so allow one char long lines X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=580e881abd00bddf5e601dd1495bdafd7c3928ad;p=dak.git a newline is ONE char, so allow one char long lines Signed-off-by: Joerg Jaspert --- diff --git a/tools/debianqueued-0.9/debianqueued b/tools/debianqueued-0.9/debianqueued index b0898674..2a45d5d8 100755 --- a/tools/debianqueued-0.9/debianqueued +++ b/tools/debianqueued-0.9/debianqueued @@ -720,7 +720,7 @@ outer_loop: while () { next; } if ( $pgplines < 1 or $pgplines >= 3 ) { - $extralines++ if length; + $extralines++ if length $_ > 1; next; } if (/^Maintainer:\s*/i) {