changeset 33187:9985dc9c8006

rename: Update regarding AIX.
author Bruno Haible <bruno@clisp.org>
date Fri, 30 Jul 2010 21:11:09 +0200
parents f379fd05445d
children c0da50f818a3
files ChangeLog doc/posix-functions/rename.texi m4/rename.m4
diffstat 3 files changed, 10 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/ChangeLog	Fri Jul 30 21:05:37 2010 +0200
+++ b/ChangeLog	Fri Jul 30 21:11:09 2010 +0200
@@ -1,3 +1,10 @@
+2010-07-30  Bruno Haible  <bruno@clisp.org>
+
+	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  <bruno@clisp.org>
 
 	printf.m4: Update regarding AIX.
--- a/doc/posix-functions/rename.texi	Fri Jul 30 21:05:37 2010 +0200
+++ b/doc/posix-functions/rename.texi	Fri Jul 30 21:11:09 2010 +0200
@@ -15,7 +15,7 @@
 @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
--- a/m4/rename.m4	Fri Jul 30 21:05:37 2010 +0200
+++ b/m4/rename.m4	Fri Jul 30 21:11:09 2010 +0200
@@ -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_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