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-44-g286e87b


From: Peter O'Gorman
Subject: [SCM] GNU Libtool branch, master, updated. v2.4-44-g286e87b
Date: Fri, 28 Jan 2011 03:12:04 +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  286e87b1030c353d9cfc89dbb72d59e0391cb693 (commit)
      from  e94c6d6e0359d92f08f491f57e0ef3371e978952 (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 286e87b1030c353d9cfc89dbb72d59e0391cb693
Author: Peter O'Gorman <address@hidden>
Date:   Thu Jan 27 17:13:10 2011 -0600

    Don't loop through wrapper script arguments unnecessarily.
    
    * libltdl/m4/ltmain.m4sh: Check that argv contains " --lt-"
    before looping to remove wrapper script targetted arguments.
    Performance regression reported by Dan McGee.

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

Summary of changes:
 ChangeLog                  |    7 +++++++
 libltdl/config/ltmain.m4sh |   19 +++++++++++--------
 2 files changed, 18 insertions(+), 8 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6da9d7e..8ff779b 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,10 @@
+2011-01-27  Peter O'Gorman  <address@hidden>
+
+       Don't loop through wrapper script arguments unnecessarily.
+       * libltdl/m4/ltmain.m4sh: Check that argv contains " --lt-"
+       before looping to remove wrapper script targetted arguments.
+       Performance regression reported by Dan McGee.
+
 2011-01-20  Gerald Pfeifer  <address@hidden>  (tiny change)
 
        Remove support for FreeBSD 1.x.
diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh
index 7baa6aa..766777f 100644
--- a/libltdl/config/ltmain.m4sh
+++ b/libltdl/config/ltmain.m4sh
@@ -3195,14 +3195,17 @@ func_exec_program_core ()
 # launches target application with the remaining arguments.
 func_exec_program ()
 {
-  for lt_wr_arg
-  do
-    case \$lt_wr_arg in
-    --lt-*) ;;
-    *) set x \"address@hidden" \"\$lt_wr_arg\"; shift;;
-    esac
-    shift
-  done
+  case \" \$* \" in
+  *\\ --lt-*)
+    for lt_wr_arg
+    do
+      case \$lt_wr_arg in
+      --lt-*) ;;
+      *) set x \"address@hidden" \"\$lt_wr_arg\"; shift;;
+      esac
+      shift
+    done ;;
+  esac
   func_exec_program_core \${1+\"address@hidden"}
 }
 


hooks/post-receive
-- 
GNU Libtool



reply via email to

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