diff options
Diffstat (limited to 'make_ext.pl')
-rw-r--r-- | make_ext.pl | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/make_ext.pl b/make_ext.pl index 20c3bb0855..1b055c3613 100644 --- a/make_ext.pl +++ b/make_ext.pl @@ -742,9 +742,7 @@ sub fallback_cleanup { open my $fh, '>>', $file or die "open $file: $!"; # Quite possible that we're being run in parallel here. # Can't use Fcntl this early to get the LOCK_EX - if ($^O ne "amigaos") { - flock $fh, 2 or warn "flock $file: $!"; - } + flock $fh, 2 or warn "flock $file: $!"; print $fh $contents or die "print $file: $!"; close $fh or die "close $file: $!"; } |