From: Bruno Haible Date: Fri, 30 Jul 2010 19:30:43 +0000 (+0200) Subject: symlink: Update regarding AIX. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=32fa5a49695a1e738873537bc5db98be2d83d4a8;p=pspp symlink: Update regarding AIX. --- diff --git a/ChangeLog b/ChangeLog index 9a11b27952..e455808f37 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +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. diff --git a/doc/posix-functions/symlink.texi b/doc/posix-functions/symlink.texi index b3d740f76e..b510c0467c 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 3d14e692a7..fb61984607 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])