projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
c757446
)
local $/ = "\n";
Jeff Pinyan [Mon, 24 Sep 2001 00:22:32 +0000 (20:22 -0400)]
Message-Id: <Pine.GSO.4.21.
0109240021410
.9178-100000@crusoe.crusoe.net>
p4raw-id: //depot/perl@12164
lib/Cwd.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/Cwd.pm
b/lib/Cwd.pm
index
d7e60d6
..
680fc3e
100644
(file)
--- a/
lib/Cwd.pm
+++ b/
lib/Cwd.pm
@@
-189,6
+189,7
@@
$pwd_cmd ||= 'pwd';
sub _backtick_pwd {
my $cwd = `$pwd_cmd`;
# `pwd` may fail e.g. if the disk is full
+ local $/ = "\n";
chomp($cwd) if defined $cwd;
$cwd;
}