From 918426be7f3660c63cebe082bf8eac82a38bf756 Mon Sep 17 00:00:00 2001 From: Nicholas Clark Date: Wed, 28 Feb 2001 23:28:49 +0000 Subject: don't write along symlinks into a read only source tree (was Re: [ID 20010129.006] OK: perl v5.7.0 +DEVEL8584 on i586-linux-64all 2.2.12 (UNINSTALLED)) Message-ID: <20010228232849.A55187@plum.flirble.org> Allow a completely write protected source code tree when using the Configure -Dmksymlinks. p4raw-id: //depot/perl@8971 --- warnings.pl | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'warnings.pl') diff --git a/warnings.pl b/warnings.pl index 3a5037d40d..138b1db5af 100644 --- a/warnings.pl +++ b/warnings.pl @@ -172,8 +172,8 @@ if (@ARGV && $ARGV[0] eq "tree") exit ; } -#unlink "warnings.h"; -#unlink "lib/warnings.pm"; +unlink "warnings.h"; +unlink "lib/warnings.pm"; open(WARN, ">warnings.h") || die "Can't create warnings.h: $!\n"; open(PM, ">lib/warnings.pm") || die "Can't create lib/warnings.pm: $!\n"; -- cgit v1.2.1