From: Bruno Haible Date: Fri, 30 Jul 2010 19:11:09 +0000 (+0200) Subject: rename: Update regarding AIX. X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b9a208581565917efdcd7e5013d8bc69ff1f5abd;p=pspp rename: Update regarding AIX. --- diff --git a/ChangeLog b/ChangeLog index 321d190922..be9cd290ca 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2010-07-30 Bruno Haible + + rename: Update regarding AIX. + * doc/posix-functions/rename.texi: Mention bug on AIX 7.1. + * m4/rename.m4 (gl_FUNC_RENAME): Update comment. + Reported by Rainer Tammer. + 2010-07-30 Bruno Haible printf.m4: Update regarding AIX. diff --git a/doc/posix-functions/rename.texi b/doc/posix-functions/rename.texi index cd11a6de7e..14921234fc 100644 --- a/doc/posix-functions/rename.texi +++ b/doc/posix-functions/rename.texi @@ -15,7 +15,7 @@ NetBSD 1.6. @item This function does not reject trailing slashes on the destination for non-directories on some platforms, as in @code{rename("file","new/")}: -Solaris 10, Cygwin 1.5.x, mingw. +AIX 7.1, Solaris 10, Cygwin 1.5.x, mingw. @item This function does not reject trailing slashes on symlinks to non-directories on some platforms, as in diff --git a/m4/rename.m4 b/m4/rename.m4 index 41e706109a..30daf0e44b 100644 --- a/m4/rename.m4 +++ b/m4/rename.m4 @@ -1,4 +1,4 @@ -# serial 21 +# serial 22 # Copyright (C) 2001, 2003, 2005-2006, 2009-2010 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation @@ -19,7 +19,7 @@ AC_DEFUN([gl_FUNC_RENAME], AC_REQUIRE([gl_STDIO_H_DEFAULTS]) AC_CHECK_FUNCS_ONCE([lstat]) - dnl Solaris 10 mistakenly allows rename("file","name/"). + dnl Solaris 10, AIX 7.1 mistakenly allow rename("file","name/"). dnl NetBSD 1.6 mistakenly forbids rename("dir","name/"). dnl FreeBSD 7.2 mistakenly allows rename("file","link-to-file/"). dnl The Solaris bug can be worked around without stripping