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-43-g


From: Eric Blake
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-43-g460ecbc
Date: Tue, 14 Oct 2008 17:55:28 +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=460ecbc03edaeaa637859e30838c5d7e96bfd36a

The branch, master has been updated
       via  460ecbc03edaeaa637859e30838c5d7e96bfd36a (commit)
      from  e7c440252051aa3dac951e455260cacb8ba30027 (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 460ecbc03edaeaa637859e30838c5d7e96bfd36a
Author: Eric Blake <address@hidden>
Date:   Tue Oct 14 11:52:38 2008 -0600

    Correct previous patch.
    
    * doc/autoconf.texi (Shell Functions): Bash obeys Posix, after
    all.
    
    Signed-off-by: Eric Blake <address@hidden>

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

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

diff --git a/ChangeLog b/ChangeLog
index 071f2a9..8a4504c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-10-14  Eric Blake  <address@hidden>
 
+       Correct previous patch.
+       * doc/autoconf.texi (Shell Functions): Bash obeys Posix, after
+       all.
+
        Document shell function environment pitfall.
        * doc/autoconf.texi (Shell Functions): Document bugs in bash,
        Solaris /bin/sh.
diff --git a/doc/autoconf.texi b/doc/autoconf.texi
index dc86462..ddd0638 100644
--- a/doc/autoconf.texi
+++ b/doc/autoconf.texi
@@ -14226,15 +14226,15 @@ and other options upon function entry and exit.  
Inside a function,
 @acronym{IRIX} sh sets @samp{$0} to the function name.
 
 It is not portable to pass temporary environment variables to shell
-functions.  Solaris @command{/bin/sh} does not see the variable.  Meanwhile,
address@hidden 3.2 breaks the Posix rule that the assignment must not affect
-the current environment, but only when Posix compliance is requested!
+functions.  Solaris @command{/bin/sh} does not see the variable.
+Meanwhile, not all shells follow the Posix rule that the assignment must
+affect the current environment in the same manner as special built-ins.
 
 @example
 $ @kbd{/bin/sh -c 'func()@{ echo $a;@}; a=1 func; echo $a'}
 @result{}
 @result{}
-$ @kbd{bash -c 'func()@{ echo $a;@}; a=1 func; echo $a'}
+$ @kbd{ash -c 'func()@{ echo $a;@}; a=1 func; echo $a'}
 @result{}1
 @result{}
 $ @kbd{bash -c 'set -o posix; func()@{ echo $a;@}; a=1 func; echo $a'}


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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