autoconf-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] GNU Autoconf source repository branch, master, updated. v2.63-68-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-68-gaf61bad
Date: Sat, 18 Oct 2008 13:29:03 +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=af61badc821bcef780650da9032adbc4d86d1db5

The branch, master has been updated
       via  af61badc821bcef780650da9032adbc4d86d1db5 (commit)
      from  773837cec3cd185d281ce8efd76c75fff0a3aaca (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 af61badc821bcef780650da9032adbc4d86d1db5
Author: Eric Blake <address@hidden>
Date:   Sat Oct 18 07:27:45 2008 -0600

    Document bugs in { } handling.
    
    * doc/autoconf.texi (Limitations of Builtins): Mention bug on
    empty list.
    
    Signed-off-by: Eric Blake <address@hidden>

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog         |    4 ++++
 doc/autoconf.texi |   16 ++++++++++++++++
 2 files changed, 20 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index d971b18..25c8826 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-10-18  Eric Blake  <address@hidden>
 
+       Document bugs in { } handling.
+       * doc/autoconf.texi (Limitations of Builtins): Mention bug on
+       empty list.
+
        Fix some testsuite failures introduced two days ago.
        * tests/m4sh.at (Nested AS@&address@hidden)
        (AS@&address@hidden and m4@&address@hidden): Adjust to changed
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index a6bcb34..eed40c5 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -14624,6 +14624,22 @@ bash: line 1: /bad: Permission denied
 1
 @end example
 
+Posix requires a syntax error if a brace list has no contents.  However,
+not all shells obey this rule; and on shells where empty lists are
+permitted, the effect on @samp{$?} is inconsistent.  To avoid problems,
+ensure that a brace list is never empty.
+
address@hidden
+$ @kbd{bash -c 'false; @{ @}; echo $?' || echo $?}
+bash: line 1: syntax error near unexpected token address@hidden'
+bash: line 1: `false; @{ @}; echo $?'
+2
+$ @kbd{zsh -c 'false; @{ @}; echo $?' || echo $?}
+1
+$ @kbd{pdksh -c 'false; @{ @}; echo $?' || echo $?}
+0
address@hidden example
+
 
 @item @command{break}
 @c ------------------


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

[Prev in Thread] Current Thread [Next in Thread]