[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
FYI: ltmain.m4sh loop
From: |
Ralf Wildenhues |
Subject: |
FYI: ltmain.m4sh loop |
Date: |
Tue, 25 Jan 2005 21:29:00 +0100 |
User-agent: |
Mutt/1.5.6+20040907i |
Try `libtool --debug -dlopen=foo' for a nice endless loop. :)
Committed to HEAD and branch-2-0.
Cheers,
Ralf
* config/ltmain.m4sh: Fix endless loop in cmdline parsing.
Index: config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/config/ltmain.m4sh,v
retrieving revision 1.44
diff -u -r1.44 ltmain.m4sh
--- config/ltmain.m4sh 24 Jan 2005 13:28:47 -0000 1.44
+++ config/ltmain.m4sh 25 Jan 2005 19:19:27 -0000
@@ -402,8 +402,8 @@
# 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
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- FYI: ltmain.m4sh loop,
Ralf Wildenhues <=