libtool-commit
[Top][All Lists]
Advanced

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

[SCM] GNU Libtool branch, master, updated. v2.4.2-43-g1cc6d37


From: Gary V. Vaughan
Subject: [SCM] GNU Libtool branch, master, updated. v2.4.2-43-g1cc6d37
Date: Sat, 05 Nov 2011 13:16:23 +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  1cc6d379753f3f07b41d1a1b4f5dae0cdee28b25 (commit)
      from  db48cd3e2b9463414520d9fd439c0e30246a7cc7 (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 1cc6d379753f3f07b41d1a1b4f5dae0cdee28b25
Author: Gary V. Vaughan <address@hidden>
Date:   Sat Nov 5 19:40:30 2011 +0700

    libtoolize: fix a scoping bug in func_aclocal_update_check.
    
    libtoolize.m4sh (func_aclocal_update_check): This body of this
    function used a global variable set by the outer loop of the
    caller. Fix to Use the function argument correctly.
    
    Signed-off-by: Gary V. Vaughan <address@hidden>

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

Summary of changes:
 libtoolize.m4sh |    8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/libtoolize.m4sh b/libtoolize.m4sh
index e41ab3c..6bd7e4e 100644
--- a/libtoolize.m4sh
+++ b/libtoolize.m4sh
@@ -755,10 +755,12 @@ func_aclocal_update_check ()
 {
     $debug_cmd
 
+    my_filename=$1
+
     my_srcfile="$aclocaldir/$1"
     my_destfile="aclocal.m4"
 
-    case $need in
+    case $my_filename in
       libtool.m4)
        my_src_serial=`func_serial "$my_srcfile" LT_INIT`
        my_dest_serial=`func_serial "$my_destfile" LT_INIT`
@@ -775,8 +777,8 @@ func_aclocal_update_check ()
        my_dest_serial=`func_serial "$my_destfile" LTDL_INIT`
        ;;
       *)
-       my_src_serial=`func_serial "$my_srcfile" "$need"`
-       my_dest_serial=`func_serial "$my_destfile" "$need"`
+       my_src_serial=`func_serial "$my_srcfile" "$my_filename"`
+       my_dest_serial=`func_serial "$my_destfile" "$my_filename"`
        ;;
     esac
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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