[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[SCM] GNU Autoconf source repository branch, master, updated. v2.63-201-
From: |
Eric Blake |
Subject: |
[SCM] GNU Autoconf source repository branch, master, updated. v2.63-201-g74f9305 |
Date: |
Tue, 18 Nov 2008 13:32:15 +0000 |
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=74f93059738c647d8330814d67829315385704fa
The branch, master has been updated
via 74f93059738c647d8330814d67829315385704fa (commit)
from 7ad7019cf702c136869beef91b65bceae7c7dbb3 (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 74f93059738c647d8330814d67829315385704fa
Author: Eric Blake <address@hidden>
Date: Tue Nov 18 06:30:37 2008 -0700
Document a Solaris /bin/sh bug with 'set -e'.
* doc/autoconf.texi (Shell Functions): Mention the bug.
Signed-off-by: Eric Blake <address@hidden>
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 5 +++++
doc/autoconf.texi | 9 +++++++++
2 files changed, 14 insertions(+), 0 deletions(-)
diff --git a/ChangeLog b/ChangeLog
index 41f97d3..93c085c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2008-11-18 Eric Blake <address@hidden>
+
+ Document a Solaris /bin/sh bug with 'set -e'.
+ * doc/autoconf.texi (Shell Functions): Mention the bug.
+
2008-11-17 Eric Blake <address@hidden>
Detect empty list in AS_FOR.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 07db254..90e6cee 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -14660,6 +14660,15 @@ $ @kbd{ash -c 'foo()@{ echo $?; @}; trap foo 0; (exit
2); exit 2'; echo $?}
2
@end example
+Not all shells treat shell functions as simple commands impacted by
address@hidden -e}, for example with Solaris 10 @command{bin/sh}:
+
address@hidden
+$ @kbd{bash -c 'f()@{ return 1; @}; set -e; f; echo oops}
+$ @kbd{/bin/sh -c 'f()@{ return 1; @}; set -e; f; echo oops}
+oops
address@hidden example
+
Shell variables and functions may share the same namespace, for example
with Solaris 10 @command{/bin/sh}:
hooks/post-receive
--
GNU Autoconf source repository
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [SCM] GNU Autoconf source repository branch, master, updated. v2.63-201-g74f9305,
Eric Blake <=