openat: test for fstatat (..., 0) bug
[gnulib.git] / m4 / fchdir.m4
index 26604e2..a387dbb 100644 (file)
@@ -27,8 +27,6 @@ AC_DEFUN([gl_FUNC_FCHDIR],
     REPLACE_OPENDIR=1
     REPLACE_CLOSEDIR=1
     REPLACE_DUP=1
-    dnl dup3 is already unconditionally replaced
-    gl_REPLACE_FCNTL
     AC_CACHE_CHECK([whether open can visit directories],
       [gl_cv_func_open_directory_works],
       [AC_RUN_IFELSE([AC_LANG_PROGRAM([[#include <fcntl.h>