Mercurial > hg > octave-kai > gnulib-hg
changeset 13499:af9512fc5d24
stat: Update regarding AIX.
author | Bruno Haible <bruno@clisp.org> |
---|---|
date | Fri, 30 Jul 2010 21:24:54 +0200 |
parents | 8697bfecaf15 |
children | 8a4806169aad |
files | ChangeLog doc/posix-functions/stat.texi m4/stat.m4 |
diffstat | 3 files changed, 10 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-07-30 Bruno Haible <bruno@clisp.org> + + 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 <bruno@clisp.org> truncl: Fix autoconf test.
--- 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:
--- 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],