summaryrefslogtreecommitdiff
path: root/lib/Cwd.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2003-08-12 10:40:54 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2003-08-12 10:40:54 +0000
commita25ef67de93be431e21193a0e7ed5fca8bc883f7 (patch)
tree36bc89d30dd84d664f89be957b4b45885ef38863 /lib/Cwd.pm
parentc43f8b937804a25598432d2d19d7f04146b29bc2 (diff)
downloadperl-a25ef67de93be431e21193a0e7ed5fca8bc883f7.tar.gz
Localize PARENT (based on Ilya's microperl patch).
p4raw-id: //depot/perl@20645
Diffstat (limited to 'lib/Cwd.pm')
-rw-r--r--lib/Cwd.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Cwd.pm b/lib/Cwd.pm
index 7f8ef6543b..42ce8d181a 100644
--- a/lib/Cwd.pm
+++ b/lib/Cwd.pm
@@ -379,6 +379,7 @@ sub _perl_abs_path
{
$dotdots .= '/..';
@pst = @cst;
+ local *PARENT;
unless (opendir(PARENT, $dotdots))
{
carp "opendir($dotdots): $!";