projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
perl 5.003_06: pod/perlcall.pod pod/perldata.pod pod/perldebug.pod pod/perlembed...
[p5sagit/p5-mst-13.2.git]
/
lib
/
getcwd.pl
diff --git
a/lib/getcwd.pl
b/lib/getcwd.pl
index
8db8e20
..
d886018
100644
(file)
--- a/
lib/getcwd.pl
+++ b/
lib/getcwd.pl
@@
-54,7
+54,7
@@
sub getcwd
}
$cwd = "$dir/$cwd";
closedir(getcwd'PARENT); #');
- } while ($dir);
+ } while ($dir ne '');
chop($cwd);
$cwd;
}