[SCM] GNU Autoconf source repository branch, master, updated. v2.68-26-g73c280a
"Ralf Wildenhues" <[email protected]> Sat, 22 Jan 2011 13:58:26 +0000
| Newsgroups | gmane.comp.sysutils.autoconf.cvs |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU Autoconf source repository".
http://git.sv.gnu.org/gitweb/?p=autoconf.git;a=commitdiff;h=73c280a8255d38b5bd4f8819b91c19730fefed25
The branch, master has been updated
via 73c280a8255d38b5bd4f8819b91c19730fefed25 (commit)
via f27287014003d7cbcac13f4da263066b86398908 (commit)
from 5f6115b10db4a1b755394fbcef5923d81a4359e4 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 73c280a8255d38b5bd4f8819b91c19730fefed25
Author: Ralf Wildenhues <[email protected]>
Date: Sat Jan 22 13:46:06 2011 +0100
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 <[email protected]>
commit f27287014003d7cbcac13f4da263066b86398908
Author: Ralf Wildenhues <[email protected]>
Date: Sat Jan 22 09:28:44 2011 +0100
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
could also dump core over `unset MAILPATH'.
Suggestion by Eric Blake.
Signed-off-by: Ralf Wildenhues <[email protected]>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 13 +++++++++++++
doc/autoconf.texi | 21 ++++++++++++++++-----
2 files changed, 29 insertions(+), 5 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 13594f1..c4c2bc1 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2011-01-22 Ralf Wildenhues <[email protected]>
+
+ 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
+ could also dump core over `unset MAILPATH'.
+ Suggestion by Eric Blake.
+
2011-01-21 Ralf Wildenhues <[email protected]>
Fix LEXLIB and YYTEXT_POINTER with IRIX 6.5 flex 2.5.4.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 4cb3a8c..b1496c6 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -17758,13 +17758,15 @@ and file name expansion.
@item @command{unset}
@c ------------------
@prindex @command{unset}
-In some nonconforming shells (e.g., Bash 2.05a), @code{unset FOO} fails
-when @code{FOO} is not set. You can use
+In some nonconforming shells (e.g., NetBSD 5.99.43 sh or Bash 2.05a),
+@code{unset FOO} fails when @code{FOO} is not set. This can interfere
+with @code{set -e} operation. You can use
@smallexample
FOO=; unset FOO
@end smallexample
+@noindent
if you are not sure that @code{FOO} is set.
A few ancient shells lack @command{unset} entirely. For some variables
@@ -17777,8 +17779,8 @@ PS1='$ '
Usually, shells that do not support @command{unset} need less effort to
make the environment sane, so for example is not a problem if you cannot
unset @command{CDPATH} on those shells. However, Bash 2.01 mishandles
-@code{unset MAIL} in some cases and dumps core. So, you should do
-something like
+@code{unset MAIL} and @code{unset MAILPATH} in some cases and dumps core.
+So, you should do something like
@smallexample
( (unset MAIL) || exit 1) >/dev/null 2>&1 && unset MAIL || :
@@ -18065,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
hooks/post-receive
--
GNU Autoconf source repository