]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
* config/ltmain.m4sh: Fix endless loop in cmdline parsing.
authorRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Jan 2005 20:28:57 +0000 (20:28 +0000)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Tue, 25 Jan 2005 20:28:57 +0000 (20:28 +0000)
ChangeLog
config/ltmain.m4sh

index 8d9a4f9cd03b5a63e1ba44999cb145abab044aea..f73323195e0683086bd3ac6b9234635777463db5 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-01-25  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * config/ltmain.m4sh: Fix endless loop in cmdline parsing.
+
 2005-01-25  Albert Chin-A-Young  <china@thewrittenword.com>
 
        * config/ltmain.m4sh (func_mode_link) [irix]: Preserve processor
index 047e27765a13946a432404d3093d2ea469f9fe18..ea99a83274763f4ff955fb548d879e599847f0f0 100644 (file)
@@ -402,8 +402,8 @@ Otherwise, only FILE itself is deleted using RM."
   # sed scripts:
   my_sed_single_opt='1s/^\(..\).*$/\1/;q'
   my_sed_single_rest='1s/^..\(.*\)$/\1/;q'
-  my_sed_long_opt='1s/^\(--[[^=]]*\)=.*/\1/;q'
-  my_sed_long_arg='1s/^--[[^=]]*=//'
+  my_sed_long_opt='1s/^\(-[[^=]]*\)=.*/\1/;q'
+  my_sed_long_arg='1s/^-[[^=]]*=//'
 
   # Shorthand for --mode=foo, only valid as the first argument
   case $1 in