[SCM] Debian packaging of libio-async-loop-glib-perl branch, master, updated. debian/0.20-1-2-g2dd7c4e

gregor herrmann gregoa at debian.org
Wed Aug 15 13:18:25 UTC 2012


The following commit has been merged in the master branch:
commit 696235172ec9bf162b9db7304665704b27e73c10
Author: gregor herrmann <gregoa at debian.org>
Date:   Wed Aug 15 15:07:46 2012 +0200

    Add patch pollhup.patch: remove declaration that IO::Async::Loop::Glib can handle on_hangup.
    
    POLLHUP is not reliable to detect that the reader has closed
    their end of a pipe.
    
    Thanks: Paul Evans (upstream author) for the patch.
    Closes: #680806

diff --git a/debian/patches/pollhup.patch b/debian/patches/pollhup.patch
new file mode 100644
index 0000000..13d06e6
--- /dev/null
+++ b/debian/patches/pollhup.patch
@@ -0,0 +1,22 @@
+Description: remove IaLoop::Glib's declaration that it can handle on_hangup
+ "[The bug] comes from an expectation on my part hat POLLHUP was actually
+ reliable across operating systems, to detect that the reader has closed
+ their end of a pipe. Turns out this really isn't the case at all."
+Origin: upstream, RT#78891
+Bug: http://rt.cpan.org/Public/Bug/Display.html?id=78891
+Bug-Debian: http://bugs.debian.org/680806
+Author: Paul Evans <leonerd at leonerd.org.uk>
+Reviewed-by: gregor herrmann <gregoa at debian.org>
+Last-Update: 2012-08-15
+
+--- a/lib/IO/Async/Loop/Glib.pm
++++ b/lib/IO/Async/Loop/Glib.pm
+@@ -13,7 +13,7 @@
+ 
+ # Only Linux is known always to be able to report EOF conditions on
+ # filehandles using POLLHUP
+-use constant _CAN_ON_HANGUP => ( $^O eq "linux" );
++#use constant _CAN_ON_HANGUP => ( $^O eq "linux" );
+ 
+ use base qw( IO::Async::Loop );
+ IO::Async::Loop->VERSION( '0.33' );
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..772f552
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+pollhup.patch

-- 
Debian packaging of libio-async-loop-glib-perl



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