From MAILER-DAEMON Mon Jan 30 14:00:27 2012
Received: from list by lists.gnu.org with archive (Exim 4.71)
	id 1RrwSp-0004o8-JW
	for mharc-libtool-commit@gnu.org; Mon, 30 Jan 2012 14:00:27 -0500
Received: from eggs.gnu.org ([140.186.70.92]:46817)
	by lists.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1RrwSn-0004o1-2W
	for libtool-commit@gnu.org; Mon, 30 Jan 2012 14:00:26 -0500
Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1RrwSi-0004GY-SE
	for libtool-commit@gnu.org; Mon, 30 Jan 2012 14:00:24 -0500
Received: from vcs.savannah.gnu.org ([140.186.70.72]:42247)
	by eggs.gnu.org with esmtp (Exim 4.71)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1RrwSi-0004GR-QP
	for libtool-commit@gnu.org; Mon, 30 Jan 2012 14:00:20 -0500
Received: from pekberg by vcs.savannah.gnu.org with local (Exim 4.72)
	(envelope-from <INVALID.NOREPLY@gnu.org>) id 1RrwSb-0007x5-LD
	for libtool-commit@gnu.org; Mon, 30 Jan 2012 19:00:18 +0000
Date: Mon, 30 Jan 2012 19:00:14 +0000
Message-Id: <E1RrwSb-0007x5-LD@vcs.savannah.gnu.org>
From: "Peter Rosin" <peda@lysator.liu.se>
To: libtool-commit@gnu.org
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-146-g7b945cf
X-Git-Refname: refs/heads/master
X-Git-Reftype: branch
X-Git-Oldrev: 7a78cca31bca68f3cf2e398d26b03f3980331d72
X-Git-Newrev: 7b945cfdaaad8a87a19fcf837dd4bc04f399b1ab
X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 2)
X-Received-From: 140.186.70.72
X-BeenThere: libtool-commit@gnu.org
X-Mailman-Version: 2.1.14
Precedence: list
List-Id: CVS commit notices for the GNU libtool shared library maintenance
	tool <libtool-commit.gnu.org>
List-Unsubscribe: <https://lists.gnu.org/mailman/options/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=unsubscribe>
List-Archive: <http://lists.gnu.org/archive/html/libtool-commit>
List-Post: <mailto:libtool-commit@gnu.org>
List-Help: <mailto:libtool-commit-request@gnu.org?subject=help>
List-Subscribe: <https://lists.gnu.org/mailman/listinfo/libtool-commit>,
	<mailto:libtool-commit-request@gnu.org?subject=subscribe>
X-List-Received-Date: Mon, 30 Jan 2012 19:00:26 -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 Libtool".

The branch, master has been updated
       via  7b945cfdaaad8a87a19fcf837dd4bc04f399b1ab (commit)
      from  7a78cca31bca68f3cf2e398d26b03f3980331d72 (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 7b945cfdaaad8a87a19fcf837dd4bc04f399b1ab
Author: Peter Rosin <peda@lysator.liu.se>
Date:   Mon Jan 30 15:49:05 2012 +0100

    cwrapper: avoid surplus strlen calculations.
    
    * build-aux/ltmain.m4sh (func_emit_cwrapperexe_src:lt_update_exe_path):
    Avoid surplus strlen calculations.
    
    Signed-off-by: Peter Rosin <peda@lysator.liu.se>

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

Summary of changes:
 build-aux/ltmain.m4sh |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/build-aux/ltmain.m4sh b/build-aux/ltmain.m4sh
index 922e957..00d063c 100644
--- a/build-aux/ltmain.m4sh
+++ b/build-aux/ltmain.m4sh
@@ -4151,9 +4151,9 @@ lt_update_exe_path (const char *name, const char *value)
       char *new_value = lt_extend_str (getenv (name), value, 0);
       /* some systems can't cope with a ':'-terminated path #' */
       int len = strlen (new_value);
-      while (((len = strlen (new_value)) > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
+      while ((len > 0) && IS_PATH_SEPARATOR (new_value[len-1]))
         {
-          new_value[len-1] = '\0';
+          new_value[--len] = '\0';
         }
       lt_setenv (name, new_value);
       XFREE (new_value);


hooks/post-receive
-- 
GNU Libtool


