From: Matthew Horsfall Date: Tue, 8 Mar 2016 14:15:04 +0000 (+0100) Subject: Much simpler sure-flush on dirty exit ( ribasushi-- # overcomplicating ) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2c4abbea2d69eda73c1b91194eb8b7f52414d522;hp=10dd5c05fee5be6ff4d72e41ab0d7b51809fdb5a;p=dbsrgits%2FDBIx-Class-Historic.git Much simpler sure-flush on dirty exit ( ribasushi-- # overcomplicating ) --- diff --git a/AUTHORS b/AUTHORS index 086b0e0..264ee55 100644 --- a/AUTHORS +++ b/AUTHORS @@ -19,6 +19,7 @@ acca: Alexander Kuznetsov aherzog: Adam Herzog Alexander Keusch alexrj: Alessandro Ranellucci +alh: Matthew Horsfall alnewkirk: Al Newkirk Altreus: Alastair McGowan-Douglas amiri: Amiri Barksdale diff --git a/t/lib/ANFANG.pm b/t/lib/ANFANG.pm index bdae983..05304bf 100644 --- a/t/lib/ANFANG.pm +++ b/t/lib/ANFANG.pm @@ -161,7 +161,7 @@ END { # Crucial flushes in case we are piping things out (e.g. prove) # Otherwise the last lines will never arrive at the receiver - select($_), $| = 1 for \*STDOUT, \*STDERR; + close($_) for \*STDOUT, \*STDERR; POSIX::_exit($exit); } ),