[SCM] Debian package checker branch, master, updated. 2.5.11-229-gbbcacc5
The following commit has been merged in the master branch:
commit bbcacc58ad9d87b98ee1402960cd9010055b4555
Author: Niels Thykier <niels@thykier.net>
Date: Sun Apr 7 18:33:30 2013 +0200
frontend/*: Use STDOUT->autoflush instead of "$| = 1"
Signed-off-by: Niels Thykier <niels@thykier.net>
diff --git a/frontend/lintian b/frontend/lintian
index 974f7ab..7b84493 100755
--- a/frontend/lintian
+++ b/frontend/lintian
@@ -125,7 +125,7 @@ my $finish_timer = sub { ''; };
# {{{ Setup Code
#turn off file buffering
-$| = 1;
+STDOUT->autoflush;
# Globally ignore SIGPIPE. We'd rather deal with error returns from write
# than randomly delivered signals.
diff --git a/frontend/lintian-info b/frontend/lintian-info
index 997e76a..7251107 100755
--- a/frontend/lintian-info
+++ b/frontend/lintian-info
@@ -26,7 +26,7 @@ use warnings;
use Getopt::Long;
# turn file buffering off:
-$| = 1;
+STDOUT->autoflush;
BEGIN {
# determine LINTIAN_ROOT
diff --git a/t/runtests b/t/runtests
index 0b6a399..f68a260 100755
--- a/t/runtests
+++ b/t/runtests
@@ -175,8 +175,7 @@ if ($JOBS <= 0) {
}
# --- Display output immediately
-
-$| = 1;
+STDOUT->autoflush;
# --- Exit status for the test suite driver
--
Debian package checker
Reply to: