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.68-103-


From: Stefano Lattarini
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.68-103-gd1b31ac
Date: Mon, 26 Dec 2011 10:34:10 +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=d1b31ac57cc069527d037f3291e643813ce0bd69

The branch, master has been updated
       via  d1b31ac57cc069527d037f3291e643813ce0bd69 (commit)
      from  17ea0df46f819a9b64c21151983a5c5b8561fefb (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 d1b31ac57cc069527d037f3291e643813ce0bd69
Author: Stefano Lattarini <address@hidden>
Date:   Sat Dec 24 16:43:36 2011 +0100

    docs: issue with shell functions and here-documents on Solaris
    
    * doc/autoconf.texi (Here-Documents): Using a command substitution
    in a here-documents being fed to a shell function is unportable.
    
    Problem revealed by the automake testsuite:
    <http://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>

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

Summary of changes:
 ChangeLog         |    8 ++++++++
 doc/autoconf.texi |   13 +++++++++++++
 2 files changed, 21 insertions(+), 0 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 25799b2..8eaf0d7 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,11 @@
+2011-12-24  Stefano Lattarini  <address@hidden>
+
+       docs: issue with shell functions and here-documents on Solaris
+       * doc/autoconf.texi (Here-Documents): Using a command substitution
+       in a here-documents being fed to a shell function is unportable.
+       Problem revealed by the automake testsuite:
+       
<http://lists.gnu.org/archive/html/automake-patches/2011-12/msg00149.html>
+
 2011-12-26  Paul Eggert  <address@hidden>
 
        AS_LN_S: fall back on 'cp -pR' (not 'cp -p') if 'ln -s' fails
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index 0354dfb..4c89750 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -15239,6 +15239,19 @@ bash-2.04$ @kbd{cat <<EOF
 @end group
 @end example
 
+Using command substitutions in a here-document that is fed to a shell
+function is not portable.  For example, with Solaris 10 @command{/bin/sh}:
+
address@hidden
+$ @kbd{kitty () @{ cat; @}}
+$ @kbd{kitty <<EOF
+> `echo ok`
+> EOF}
+/tmp/sh199886: cannot open
+$ @kbd{echo $?}
+1
address@hidden example
+
 Some shells mishandle large here-documents: for example,
 Solaris 10 @command{dtksh} and the UnixWare 7.1.1 Posix shell, which are
 derived from Korn shell version M-12/28/93d, mishandle braced variable


hooks/post-receive
-- 
GNU Autoconf source repository



reply via email to

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