projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
61890e4
)
Avoid redefinition warning
Jarkko Hietaniemi [Thu, 6 Sep 2001 13:51:16 +0000 (13:51 +0000)]
Subroutine Cwd::fastcwd redefined at lib/XSLoader.pm line 97.
from
perl -w -Ilib -MCwd -e ''
p4raw-id: //depot/perl@11915
lib/Cwd.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Cwd.pm
b/lib/Cwd.pm
index
88afca2
..
8b9a780
100644
(file)
--- 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');
};