Use native methods to open input in TestLib::slurp_file on Windows.
authorAndrew Dunstan <[email protected]>
Sun, 24 Nov 2019 23:25:22 +0000 (18:25 -0500)
committerAndrew Dunstan <[email protected]>
Sun, 24 Nov 2019 23:25:22 +0000 (18:25 -0500)
commit114541d58e5970e51b78b77b65de16210beaab43
treea20887e5065ea94899c2c497accca860ddacb3f9
parentd3aa114ac4de9ecc558ba77ed5c85e2ad9ad01d4
Use native methods to open input in TestLib::slurp_file on Windows.

It is hoped that this will avoid some errors that we have seen before,
but lately with greater frequency, in buildfarm animals.

For now apply only to master. If this proves effective it can be
backed.

Discussion: https://postgr.es/m/13900.1572839580@sss.pgh.pa.us

Author: Juan José Santamaría Flecha
src/test/perl/TestLib.pm