summaryrefslogtreecommitdiff
path: root/make_ext.pl
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2015-09-16 17:05:19 -0400
committerJarkko Hietaniemi <jhi@iki.fi>2015-09-16 17:07:43 -0400
commit387eee9be1b46a1eb35db63974b74a2982094ccf (patch)
tree7781b4668acc315beb7d8e9d7665faf1998d5a6f /make_ext.pl
parent22b433eff9a1ffa2454e18405a56650f07b385b5 (diff)
downloadperl-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.
Diffstat (limited to 'make_ext.pl')
-rw-r--r--make_ext.pl4
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: $!";
}