summaryrefslogtreecommitdiff
path: root/warnings.pl
diff options
context:
space:
mode:
authorNicholas Clark <nick@ccl4.org>2001-02-28 23:28:49 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-03-01 01:34:09 +0000
commit918426be7f3660c63cebe082bf8eac82a38bf756 (patch)
treeead07ef465ee79f5fa6d5d2164d47fc8675c5676 /warnings.pl
parentdc2a6c80c7235d8ba099bfea6ec41cb4da7e3260 (diff)
downloadperl-918426be7f3660c63cebe082bf8eac82a38bf756.tar.gz
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
Diffstat (limited to 'warnings.pl')
-rw-r--r--warnings.pl4
1 files changed, 2 insertions, 2 deletions
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";