projects
/
p5sagit/p5-mst-13.2.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(parent:
5f65b37
)
This town is too small for the Cwd extension and me,
Jarkko Hietaniemi [Thu, 21 Jun 2001 22:24:42 +0000 (22:24 +0000)]
it would seem...
p4raw-id: //depot/perl@10804
ext/Cwd/Cwd.xs
patch
|
blob
|
blame
|
history
diff --git
a/ext/Cwd/Cwd.xs
b/ext/Cwd/Cwd.xs
index
10c6f15
..
ba65a5f
100644
(file)
--- a/
ext/Cwd/Cwd.xs
+++ b/
ext/Cwd/Cwd.xs
@@
-183,7
+183,11
@@
loop:
return (resolved);
err1: serrno = errno;
+#ifdef HAS_FCHDIR
(void)fchdir(fd);
+#else
+ (void)chdir(wd);
+#endif
err2: (void)close(fd);
errno = serrno;
return (NULL);