# HG changeset patch # User Bruno Haible # Date 1280517894 -7200 # Node ID af9512fc5d2445a39276f4394a19dbd2d2b2a376 # Parent 8697bfecaf15887612040e2ecb49d4f0dda4290d stat: Update regarding AIX. diff --git a/ChangeLog b/ChangeLog --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/doc/posix-functions/stat.texi b/doc/posix-functions/stat.texi --- a/doc/posix-functions/stat.texi +++ b/doc/posix-functions/stat.texi @@ -11,7 +11,7 @@ @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 --- 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 @@ 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],