projects
/
p5sagit/p5-mst-13.2.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
Shortcut chasing round strtab when we're not the last reference.
[p5sagit/p5-mst-13.2.git]
/
ext
/
Cwd
/
Cwd.xs
diff --git
a/ext/Cwd/Cwd.xs
b/ext/Cwd/Cwd.xs
index
97c583f
..
e7323ab
100644
(file)
--- a/
ext/Cwd/Cwd.xs
+++ b/
ext/Cwd/Cwd.xs
@@
-417,7
+417,7
@@
PPCODE:
char *path;
char buf[MAXPATHLEN];
- path = pathsv ? SvPV_nolen(pathsv) : ".";
+ path = pathsv ? SvPV_nolen(pathsv) : (char *)".";
if (bsd_realpath(path, buf)) {
sv_setpvn(TARG, buf, strlen(buf));