From 32fa5a49695a1e738873537bc5db98be2d83d4a8 Mon Sep 17 00:00:00 2001 From: Bruno Haible Date: Fri, 30 Jul 2010 21:30:43 +0200 Subject: [PATCH 1/1] symlink: Update regarding AIX. --- ChangeLog | 7 +++++++ doc/posix-functions/symlink.texi | 2 +- m4/symlink.m4 | 6 +++--- 3 files changed, 11 insertions(+), 4 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a11b2795..e455808f3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,12 @@ 2010-07-30 Bruno Haible + symlink: Update regarding AIX. + * doc/posix-functions/symlink.texi: Mention bug on AIX 7.1. + * m4/symlink.m4 (gl_FUNC_SYMLINK): Update comment. + Reported by Rainer Tammer. + +2010-07-30 Bruno Haible + strndup: Update regarding AIX. * m4/strndup.m4 (gl_FUNC_STRNDUP): When cross-compiling, guess yes on AIX 7. diff --git a/doc/posix-functions/symlink.texi b/doc/posix-functions/symlink.texi index b3d740f76..b510c0467 100644 --- a/doc/posix-functions/symlink.texi +++ b/doc/posix-functions/symlink.texi @@ -11,7 +11,7 @@ Portability problems fixed by Gnulib: @item On some systems, @code{symlink(value,"name/")} mistakenly creates a symlink: -FreeBSD 7.2, Solaris 9 +FreeBSD 7.2, AIX 7.1, Solaris 9. @item This function is missing on some platforms; however, the replacement always fails with @code{EPERM}: diff --git a/m4/symlink.m4 b/m4/symlink.m4 index 3d14e692a..fb6198460 100644 --- a/m4/symlink.m4 +++ b/m4/symlink.m4 @@ -1,4 +1,4 @@ -# serial 2 +# serial 3 # See if we need to provide symlink replacement. dnl Copyright (C) 2009, 2010 Free Software Foundation, Inc. @@ -13,8 +13,8 @@ AC_DEFUN([gl_FUNC_SYMLINK], AC_REQUIRE([gl_UNISTD_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([symlink]) dnl The best we can do on mingw is provide a dummy that always fails, so - dnl that compilation can proceed with fewer ifdefs. On Solaris 9 and - dnl FreeBSD 7.2, we want to fix a bug with trailing slash handling. + dnl that compilation can proceed with fewer ifdefs. On FreeBSD 7.2, AIX 7.1, + dnl and Solaris 9, we want to fix a bug with trailing slash handling. if test $ac_cv_func_symlink = no; then HAVE_SYMLINK=0 AC_LIBOBJ([symlink]) -- 2.11.0