Skip to content

Commit f6f5982

Browse files
committed
Don't use native methods in TestLib::slurp_file on Msys
Commit 114541d has upset some buildfarm members running Msys, that weren't previously having problems, so the use of native Windows methods to open files is restricted by this patch to only MSVC builds.
1 parent ca266a0 commit f6f5982

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/perl/TestLib.pm

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -400,7 +400,7 @@ sub slurp_file
400400
my ($filename) = @_;
401401
local $/;
402402
my $contents;
403-
if (!$windows_os)
403+
if ($Config{osname} ne 'MSWin32')
404404
{
405405
open(my $in, '<', $filename)
406406
or die "could not read \"$filename\": $!";

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy