From df8bc51660941d7464dcd31170690519cb95c0c2 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 30 Jul 2010 20:38:44 +0200 Subject: [PATCH] open, fopen: Update regarding AIX. --- ChangeLog | 9 +++++++++ doc/posix-functions/fopen.texi | 2 +- doc/posix-functions/open.texi | 2 +- m4/fopen.m4 | 9 +++++---- m4/open.m4 | 10 +++++----- 5 files changed, 21 insertions(+), 11 deletions(-) diff --git a/ChangeLog b/ChangeLog index 16a60bd49..7acebd9e9 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,14 @@ 2010-07-30 Bruno Haible + open, fopen: Update regarding AIX. + * m4/open.m4 (gl_FUNC_OPEN): Adjust cross-compiling guess for AIX. + * m4/fopen.m4 (gl_FUNC_FOPEN): Likewise. + * doc/posix-functions/open.texi: Mention the trailing-slash bug on AIX. + * doc/posix-functions/fopen.texi: Likewise. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + chown: Update doc regarding AIX. * doc/posix-functions/chown.texi: Mention bug on AIX 7.1. * m4/chown.m4 (gl_FUNC_CHOWN): Update comment. diff --git a/doc/posix-functions/fopen.texi b/doc/posix-functions/fopen.texi index 4c9ec2299..39df6aa2e 100644 --- a/doc/posix-functions/fopen.texi +++ b/doc/posix-functions/fopen.texi @@ -12,7 +12,7 @@ Portability problems fixed by Gnulib: This function does not fail when the file name argument ends in a slash and (without the slash) names a nonexistent file or a file that is not a directory, on some platforms: -HP-UX 11.00, Solaris 9, Irix 5.3. +HP-UX 11.00, AIX 7.1, Solaris 9, Irix 5.3. @item On Windows platforms (excluding Cygwin), this function does usually not recognize the @file{/dev/null} filename. diff --git a/doc/posix-functions/open.texi b/doc/posix-functions/open.texi index 933a24615..6ba483d79 100644 --- a/doc/posix-functions/open.texi +++ b/doc/posix-functions/open.texi @@ -12,7 +12,7 @@ Portability problems fixed by the Gnulib module open: This function does not fail when the file name argument ends in a slash and (without the slash) names a nonexistent file or a file that is not a directory, on some platforms: -FreeBSD 7.2, HP-UX 11.00, Solaris 9, Irix 5.3. +FreeBSD 7.2, AIX 7.1, HP-UX 11.00, Solaris 9, Irix 5.3. @item On Windows platforms (excluding Cygwin), this function does usually not recognize the @file{/dev/null} filename. diff --git a/m4/fopen.m4 b/m4/fopen.m4 index 6d2b09482..757d4a155 100644 --- a/m4/fopen.m4 +++ b/m4/fopen.m4 @@ -1,4 +1,4 @@ -# fopen.m4 serial 5 +# fopen.m4 serial 6 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -31,9 +31,10 @@ int main () [ changequote(,)dnl case "$host_os" in - solaris2.[0-9]*) gl_cv_func_fopen_slash="guessing no" ;; - hpux*) gl_cv_func_fopen_slash="guessing no" ;; - *) gl_cv_func_fopen_slash="guessing yes" ;; + aix* | hpux* | solaris2.[0-9]*) + gl_cv_func_fopen_slash="guessing no" ;; + *) + gl_cv_func_fopen_slash="guessing yes" ;; esac changequote([,])dnl ]) diff --git a/m4/open.m4 b/m4/open.m4 index d705b3a1e..8731a2555 100644 --- a/m4/open.m4 +++ b/m4/open.m4 @@ -1,4 +1,4 @@ -# open.m4 serial 8 +# open.m4 serial 9 dnl Copyright (C) 2007-2010 Free Software Foundation, Inc. dnl This file is free software; the Free Software Foundation dnl gives unlimited permission to copy and/or distribute it, @@ -37,10 +37,10 @@ int main () [ changequote(,)dnl case "$host_os" in - freebsd*) gl_cv_func_open_slash="guessing no" ;; - solaris2.[0-9]*) gl_cv_func_open_slash="guessing no" ;; - hpux*) gl_cv_func_open_slash="guessing no" ;; - *) gl_cv_func_open_slash="guessing yes" ;; + freebsd* | aix* | hpux* | solaris2.[0-9]*) + gl_cv_func_open_slash="guessing no" ;; + *) + gl_cv_func_open_slash="guessing yes" ;; esac changequote([,])dnl ]) -- 2.11.0