[SCM] libmessage-passing-perl Debian packaging branch, master, updated. debian/0.111-3-14-g44f6e88

Tomas Doran bobtfish at bobtfish.net
Mon May 6 11:56:49 UTC 2013


The following commit has been merged in the master branch:
commit b70e0f09d70b2b7164f6ebcc2b1c28373cd3f7a7
Author: Tomas Doran <bobtfish at bobtfish.net>
Date:   Thu Apr 12 22:08:43 2012 +0100

    Explicitly disable buffering

diff --git a/Changes b/Changes
index f774560..eef8a41 100644
--- a/Changes
+++ b/Changes
@@ -1,3 +1,5 @@
+    - Explicitly turn off output buffering in STDOUT output.
+
     - Change logstash script to use the perl interpreter it is
       installed with, rather than the one in $PATH right now.
 
diff --git a/lib/Log/Stash/Output/STDOUT.pm b/lib/Log/Stash/Output/STDOUT.pm
index add32ce..3e7116f 100644
--- a/lib/Log/Stash/Output/STDOUT.pm
+++ b/lib/Log/Stash/Output/STDOUT.pm
@@ -6,6 +6,7 @@ with 'Log::Stash::Role::Output';
 
 sub consume {
     my $self = shift;
+    local $|=1;
     print $self->encode(shift()) . "\n";
 }
 

-- 
libmessage-passing-perl Debian packaging



More information about the Pkg-perl-cvs-commits mailing list