X-Git-Url: http://erislabs.net/gitweb/?a=blobdiff_plain;f=lib%2Ffstatat.c;h=9b701c4d6175e2bcfe3797bf710490a74fb423a0;hb=88236bad53d1dd5e6b8a592a724736bbd9db7851;hp=873d3b3fc6a81c189472d7261a601044951f8819;hpb=1602f0afed21be664fcf5c42d59db07cc22c56d6;p=gnulib.git diff --git a/lib/fstatat.c b/lib/fstatat.c index 873d3b3fc..9b701c4d6 100644 --- a/lib/fstatat.c +++ b/lib/fstatat.c @@ -92,7 +92,7 @@ rpl_fstatat (int fd, char const *file, struct stat *st, int flag) #else /* ! (HAVE_FSTATAT && HAVE_WORKING_FSTATAT_ZERO_FLAG) */ -/* On mingw, the gnulib defines `stat' as a function-like +/* On mingw, the gnulib defines 'stat' as a function-like macro; but using it in AT_FUNC_F2 causes compilation failure because the preprocessor sees a use of a macro that requires two arguments but is only given one. Hence, we need an inline @@ -103,7 +103,7 @@ stat_func (char const *name, struct stat *st) return stat (name, st); } -/* Likewise, if there is no native `lstat', then the gnulib +/* Likewise, if there is no native 'lstat', then the gnulib defined it as stat, which also needs adjustment. */ # if !HAVE_LSTAT # undef lstat