]> git.ipfire.org Git - thirdparty/autoconf.git/commitdiff
docs: do not use AIX 5.3 cp -R.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 22 Jan 2011 12:46:06 +0000 (13:46 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sat, 22 Jan 2011 13:56:52 +0000 (14:56 +0100)
* doc/autoconf.texi (Limitations of Usual Tools): Document one
instance of the cp -R bug on AIX 5.3.  This seems to have been
fixed in 6.1 and newer releases.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
doc/autoconf.texi

index 8b7052aa73eb3743856b3d5577bac7190de5d248..c4c2bc1ab926751738b5a991c94dbf5a223415e7 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2011-01-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
 
+       docs: do not use AIX 5.3 cp -R.
+       * doc/autoconf.texi (Limitations of Usual Tools): Document one
+       instance of the cp -R bug on AIX 5.3.  This seems to have been
+       fixed in 6.1 and newer releases.
+
        docs: update entry about unset.
        * doc/autoconf.texi (Limitations of Builtins): NetBSD sh unset
        also fails upon `unset' of a variable that is not set.  Bash 2.01
index 7eccba7e40325bb47c6190db6f8764f1e4b14856..b1496c6d588f8692533f9093423628a51a130420 100644 (file)
@@ -18067,7 +18067,16 @@ Avoid the @option{-r} option, since Posix 1003.1-2004 marks it as
 obsolescent and its behavior on special files is implementation-defined.
 Use @option{-R} instead.  On GNU hosts the two options
 are equivalent, but on Solaris hosts (for example) @code{cp -r}
-reads from pipes instead of replicating them.
+reads from pipes instead of replicating them.  AIX 5.3 @code{cp -R} may
+corrupt its own memory with some directory hierarchies and error out or
+dump core:
+
+@example
+@kbd{mkdir -p 12345678/12345678/12345678/12345678}
+@kbd{touch 12345678/12345678/x}
+@kbd{cp -R 12345678 t}
+cp: 0653-440 12345678/12345678/: name too long.
+@end example
 
 Some @command{cp} implementations (e.g., BSD/OS 4.2) do not allow
 trailing slashes at the end of nonexistent destination directories.  To