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-198-


From: Ralf Wildenhues
Subject: [SCM] GNU Autoconf source repository branch, master, updated. v2.63-198-gfde7ee9
Date: Sun, 16 Nov 2008 22:00:57 +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=fde7ee974a05b89d0a34b6492ea19cdbfc36b713

The branch, master has been updated
       via  fde7ee974a05b89d0a34b6492ea19cdbfc36b713 (commit)
      from  291d709efde90f2a548233dc2d64296bc158f43d (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 fde7ee974a05b89d0a34b6492ea19cdbfc36b713
Author: Ralf Wildenhues <address@hidden>
Date:   Sun Nov 16 23:00:22 2008 +0100

    Simplify, avoid unbalanced parentheses from last change.
    
    * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Simplify, avoid
    unbalanced parentheses from last change.
    Spotted by Eric Blake, fix suggested by Paolo Bonzini.
    
    Signed-off-by: Ralf Wildenhues <address@hidden>

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

Summary of changes:
 ChangeLog           |    4 ++++
 lib/m4sugar/m4sh.m4 |    3 +--
 2 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 7a8502d..cdce7ec 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
 2008-11-16  Ralf Wildenhues  <address@hidden>
 
+       * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Simplify, avoid
+       unbalanced parentheses from last change.
+       Spotted by Eric Blake, fix suggested by Paolo Bonzini.
+
        Fix exit status of expr version of as_func_arith.
        * lib/m4sugar/m4sh.m4 (_AS_VAR_ARITH_PREPARE): Count an exit
        status of 1 of expr also as success, to avoid failure if the
diff --git a/lib/m4sugar/m4sh.m4 b/lib/m4sugar/m4sh.m4
index 56697ad..2c592c6 100644
--- a/lib/m4sugar/m4sh.m4
+++ b/lib/m4sugar/m4sh.m4
@@ -1742,8 +1742,7 @@ 
AS_IF([_AS_RUN(["AS_ESCAPE(m4_quote(_AS_VAR_ARITH_WORKS))"])],
   }'],
 [as_func_arith ()
   {
-    as_val=`expr "$[]@"`
-    case $? in 0|1) :;; *) false;; esac
+    as_val=`expr "$[]@" || test $? -eq 1`
   }]) # as_func_arith
 ])
 


hooks/post-receive
--
GNU Autoconf source repository




reply via email to

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