projects
/
platform
/
upstream
/
perl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
568d025
)
sv.c, Perl_dirp_dup: Skip the fchdir sections if telldir and seekdir are not defined
author
Brian Fraser
<fraserbn@gmail.com>
Sat, 18 May 2013 02:13:55 +0000
(23:13 -0300)
committer
Brian Fraser
<fraserbn@gmail.com>
Tue, 21 Jan 2014 18:30:59 +0000
(15:30 -0300)
sv.c
patch
|
blob
|
history
diff --git
a/sv.c
b/sv.c
index
b94e0b6
..
355d60c
100644
(file)
--- a/
sv.c
+++ b/
sv.c
@@
-11819,7
+11819,7
@@
Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
{
DIR *ret;
-#if
def HAS_FCHDIR
+#if
defined(HAS_FCHDIR) && defined(HAS_TELLDIR) && defined(HAS_SEEKDIR)
int rc = 0;
DIR *pwd;
const Direntry_t *dirent;
@@
-11840,7
+11840,7
@@
Perl_dirp_dup(pTHX_ DIR *const dp, CLONE_PARAMS *const param)
if (ret)
return ret;
-#if
def HAS_FCHDIR
+#if
defined(HAS_FCHDIR) && defined(HAS_TELLDIR) && defined(HAS_SEEKDIR)
PERL_UNUSED_ARG(param);