[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

[lintian] 01/01: collection/src-orig-index: Set blocking on the STDIN pipe to avoid trying to close it too early.



This is an automated email from the git hooks/post-receive script.

lamby pushed a commit to branch master
in repository lintian.

commit 9d03be293d2b2457960ea200e37354bcc055c0dd
Author: Chris Lamb <lamby@debian.org>
Date:   Sun Dec 24 20:29:56 2017 +0000

    collection/src-orig-index: Set blocking on the STDIN pipe to avoid trying to close it too early.
---
 collection/src-orig-index | 1 +
 1 file changed, 1 insertion(+)

diff --git a/collection/src-orig-index b/collection/src-orig-index
index 715b655..c6665dd 100755
--- a/collection/src-orig-index
+++ b/collection/src-orig-index
@@ -215,6 +215,7 @@ sub index_orig {
         pipe_in => FileHandle->new
     );
     spawn(\%opts, ['sort', '-k', '6'], '|', ['gzip', '-9nc']);
+    $opts{pipe_in}->blocking(1);
     print {$opts{pipe_in}} @result;
     close($opts{pipe_in});
     reap(\%opts);

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/lintian/lintian.git


Reply to: