From 518277d6c7e55d56641ecf7db900b38247ef2ebc Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 30 Jul 2010 21:24:54 +0200 Subject: [PATCH] stat: Update regarding AIX. --- ChangeLog | 7 +++++++ doc/posix-functions/stat.texi | 2 +- m4/stat.m4 | 4 ++-- 3 files changed, 10 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 5a8f0b40a..d74b0fd6c 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-07-30 Bruno Haible + stat: Update regarding AIX. + * doc/posix-functions/stat.texi: Mention bug on AIX 7.1. + * m4/stat.m4 (gl_FUNC_STAT): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + truncl: Fix autoconf test. * m4/truncl.m4 (gl_FUNC_TRUNCL): Add TRUNCL_LIBM to LIBS while testing whether truncl works. diff --git a/doc/posix-functions/stat.texi b/doc/posix-functions/stat.texi index ef09740ee..5bb798bfe 100644 --- a/doc/posix-functions/stat.texi +++ b/doc/posix-functions/stat.texi @@ -11,7 +11,7 @@ Portability problems fixed by Gnulib: @item On some platforms, @code{stat("link-to-file/",buf)} succeeds instead of failing with @code{ENOTDIR}. -FreeBSD 7.2, Solaris 9. +FreeBSD 7.2, AIX 7.1, Solaris 9. @item On some platforms, @code{stat(".",buf)} and @code{stat("./",buf)} give different results: diff --git a/m4/stat.m4 b/m4/stat.m4 index acd32d86a..75e1d9473 100644 --- a/m4/stat.m4 +++ b/m4/stat.m4 @@ -1,4 +1,4 @@ -# serial 4 +# serial 5 # Copyright (C) 2009, 2010 Free Software Foundation, Inc. # @@ -24,7 +24,7 @@ AC_DEFUN([gl_FUNC_STAT], mingw*) gl_cv_func_stat_dir_slash="guessing no";; *) gl_cv_func_stat_dir_slash="guessing yes";; esac])]) - dnl Solaris 9 mistakenly succeeds on stat("file/") + dnl AIX 7.1, Solaris 9 mistakenly succeed on stat("file/") dnl FreeBSD 7.2 mistakenly succeeds on stat("link-to-file/") AC_CACHE_CHECK([whether stat handles trailing slashes on files], [gl_cv_func_stat_file_slash], -- 2.11.0