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.

Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
This commit is contained in:
Ralf Wildenhues 2011-01-22 13:46:06 +01:00
parent f272870140
commit 73c280a825
2 changed files with 15 additions and 1 deletions

View File

@ -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

View 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