Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitf6f5982

Browse files
committed
Don't use native methods in TestLib::slurp_file on Msys
Commit114541d has upset some buildfarm members running Msys, thatweren't previously having problems, so the use of native Windows methodsto open files is restricted by this patch to only MSVC builds.
1 parentca266a0 commitf6f5982

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
ordie"could not read\"$filename\":$!";

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp