projects
/
pspp
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
utimens: cache whether utimensat syscall works
[pspp]
/
lib
/
dup-safer.c
diff --git
a/lib/dup-safer.c
b/lib/dup-safer.c
index 7d9b2be349035c40b2277dd2367b07e37b9bb37e..22b96babf56ade1135a054df473ca57619ad049b 100644
(file)
--- a/
lib/dup-safer.c
+++ b/
lib/dup-safer.c
@@
-32,7
+32,7
@@
int
dup_safer (int fd)
{
-#if defined F_DUPFD && !
defined FCHDIR_REPLACEMENT
+#if defined F_DUPFD && !
REPLACE_FCHDIR
return fcntl (fd, F_DUPFD, STDERR_FILENO + 1);
#else
/* fd_safer calls us back, but eventually the recursion unwinds and