fstatat: fix configuration bug on mingw, OpenBSD 4, Solaris 8
authorPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Nov 2011 02:01:44 +0000 (18:01 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Sat, 19 Nov 2011 02:01:44 +0000 (18:01 -0800)
commite0e8128146064983909c9756c02e2f8cd3fb9e12
tree8185f3311a9b5a2b7ef698ece4b6966cfba05831
parent2895f9dcb663cc11cd70395c98442574bc5df5fd
fstatat: fix configuration bug on mingw, OpenBSD 4, Solaris 8

* lib/fstatat.c (AT_FUNC_NAME): Use HAVE_FSTAT, not
HAVE_WORKING_FSTATAT_ZERO_FLAG, to decide whether to define
rpl_fstatat or fstatat.  This should fix the other problem
reported by Kai Habel in
<http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00237.html>.
A similar problem was reported for OpenBSD 4.6 by Mats Erik Andersson
<http://lists.gnu.org/archive/html/bug-gnulib/2011-11/msg00239.html>
and I reproduced it on a Solaris 8 host we still have in production.
ChangeLog
lib/fstatat.c