summaryrefslogtreecommitdiff
path: root/lib/Cwd.pm
diff options
context:
space:
mode:
authorJarkko Hietaniemi <jhi@iki.fi>2001-09-06 13:51:16 +0000
committerJarkko Hietaniemi <jhi@iki.fi>2001-09-06 13:51:16 +0000
commit716e3b8c0c8bbed515ed9bf0db90423d663bb79b (patch)
treea674d5e6fca8bf1893db83983cf2e4232ace9233 /lib/Cwd.pm
parent61890e451c40f0ead72fe0c321f8242b69768aac (diff)
downloadperl-716e3b8c0c8bbed515ed9bf0db90423d663bb79b.tar.gz
Avoid redefinition warning
Subroutine Cwd::fastcwd redefined at lib/XSLoader.pm line 97. from perl -w -Ilib -MCwd -e '' p4raw-id: //depot/perl@11915
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 88afca2232..8b9a780be0 100644
--- a/lib/Cwd.pm
+++ b/lib/Cwd.pm
@@ -168,6 +168,7 @@ if ($^O eq 'os2' && defined &sys_cwd && defined &sys_abspath) {
eval {
require XSLoader;
+ undef *Cwd::fastcwd; # avoid redefinition warning
XSLoader::load('Cwd');
};