diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-16 17:05:19 -0400 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2015-09-16 17:07:43 -0400 |
commit | 387eee9be1b46a1eb35db63974b74a2982094ccf (patch) | |
tree | 7781b4668acc315beb7d8e9d7665faf1998d5a6f | |
parent | 22b433eff9a1ffa2454e18405a56650f07b385b5 (diff) | |
download | perl-387eee9be1b46a1eb35db63974b74a2982094ccf.tar.gz |
Revert "amigaos4: flock unimplemented"
This reverts commit 24631c4f6929bc824e657b74b2edfada4c8d05b0.
The new flock emulation for amigaos now tested with parallel builds
and found to fare well.
-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: $!"; } |