summaryrefslogtreecommitdiff
path: root/lib/fstatat.c
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2017-11-11 23:11:03 -0800
committerPaul Eggert <eggert@cs.ucla.edu>2017-11-11 23:12:17 -0800
commit7775c4729814431608c943643a490ad5f1f68a99 (patch)
tree52e91e96f44f7ce92b158bfd6d4b442e63d647db /lib/fstatat.c
parente470d16448999e79df048b92ae1db4acaafb306f (diff)
downloademacs-7775c4729814431608c943643a490ad5f1f68a99.tar.gz
Merge from Gnulib
This incorporates: 2017-11-11 faccessat: port to macOS (Bug#29231) 2017-11-05 fstatat: pacify GCC on unusual platform * build-aux/config.guess, build-aux/config.sub: * doc/misc/texinfo.tex, lib/faccessat.c, lib/fstatat.c: * lib/unistd.in.h, m4/faccessat.m4, m4/unistd_h.m4: Copy from Gnulib. * lib/gnulib.mk.in, m4/gnulib-comp.m4: Regenerate.
Diffstat (limited to 'lib/fstatat.c')
-rw-r--r--lib/fstatat.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/fstatat.c b/lib/fstatat.c
index 67e48d95d71..294861f51b1 100644
--- a/lib/fstatat.c
+++ b/lib/fstatat.c
@@ -28,7 +28,7 @@
#include <sys/stat.h>
#undef __need_system_sys_stat_h
-#if HAVE_FSTATAT
+#if HAVE_FSTATAT && HAVE_WORKING_FSTATAT_ZERO_FLAG
static int
orig_fstatat (int fd, char const *filename, struct stat *buf, int flags)
{