From: Paul Smith Date: Sun, 24 Apr 2022 14:38:12 +0000 (-0400) Subject: * tests/scripts/features/reinvoke: [SV 62088] Close STDIN X-Git-Tag: 4.3.90~77 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b264d3d4f88a3573305895e5976e01ff43ff9565;p=thirdparty%2Fmake.git * tests/scripts/features/reinvoke: [SV 62088] Close STDIN On Windows we can't delete open files, so close STDIN before removing the temporary input file. --- diff --git a/tests/scripts/features/reinvoke b/tests/scripts/features/reinvoke index 5bcc40b4..07cbbfbe 100644 --- a/tests/scripts/features/reinvoke +++ b/tests/scripts/features/reinvoke @@ -173,6 +173,7 @@ open(STDIN, "<", 'input.mk') || die "input.mk: $!\n"; run_make_test('', '-sf -', "all\n"); +close(STDIN); unlink('input.mk'); # This tells the test driver that the perl test script executed properly.