Paul Eggert wrote:
> Also, do not call fstatat if
> LSTAT_FOLLOWS_SLASHED_SYMLINK, as there is no need in that case.

I think this change is not necessary, because it is already done in
m4/faccessat.m4:

  if test $ac_cv_func_faccessat = no; then
    ...
  else
    case $gl_cv_func_lstat_dereferences_slashed_symlink in
      *yes) ;;
      *)    REPLACE_FACCESSAT=1 ;;
    esac
  fi

In other words:
If HAVE_FACCESSAT is 1 and LSTAT_FOLLOWS_SLASHED_SYMLINK is not 1,
Gnulib does not define rpl_faccessat.

Bruno




Reply via email to