Re: [PATCH v2 2/2] read-cache: make sure file handles are not inherited by child processes
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Oct 25, 2016, 21:39 UTC
- Message-ID
- <e8deda5f-11a6-1463-4fc5-25454084ccb1@kdbg.org>
- In-Reply-To
- <4C96209A-756F-45F1-B075-037FE32B3291@gmail.com>
Am 24.10.2016 um 21:53 schrieb Lars Schneider:
Show 14 quoted lines
> >> On 24 Oct 2016, at 21:22, Johannes Sixt <j6t@kdbg.org> wrote: >> >> Am 24.10.2016 um 20:03 schrieb larsxschneider@gmail.com: >>> From: Lars Schneider <larsxschneider@gmail.com> >>> >>> This fixes "convert: add filter.<driver>.process option" (edcc8581) on >>> Windows. >> >> Today's next falls flat on its face on Windows in t0021.15 >> "required process filter should filter data"; might it be the >> failure meant here?(I haven't dug deeper, yet.) > > Yes, this is the failure meant here :-)
I trust your word and Dscho's that it fixes a failure on Windows. In my case, however, it was an outdated perl (5.8.8) which left a message along the lines of "lookup of member flush in IO::Handle failed" in one of the *.log files. I came up with the following workaround.
Fix-method: shot-in-the-dark Perl-foo: not-present Not-signed-off-by: Me
diff --git a/t/t0021/rot13-filter.pl b/t/t0021/rot13-filter.pl index ae4c50f..bb88c5f 100755 --- a/t/t0021/rot13-filter.pl +++ b/t/t0021/rot13-filter.pl @@ -22,6 +22,7 @@ use strict; use warnings; +use FileHandle; my $MAX_PACKET_CONTENT_SIZE = 65516; my @capabilities = @ARGV;
-- 2.10.0.343.g37bc62b