libtool-patches
[Top][All Lists]
Advanced

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

FYI: Libtool head: stresstest.at export of w8$ symbol


From: Peter Ekberg
Subject: FYI: Libtool head: stresstest.at export of w8$ symbol
Date: Tue, 13 Sep 2005 09:34:22 +0200

* Ralf Wildenhues wrote on Tuesday, September 13, 2005 08:25 CEST:
> Hi Peter, 
> 
> Peter Ekberg writes:
> >
> > * Ralf Wildenhues wrote on Friday, September 09, 2005 10:48 CEST:
> >> * Peter Ekberg wrote on Thu, Sep 08, 2005 at 03:13:43PM CEST:
> >> > * Ralf Wildenhues wrote on Thursday, September 08, 2005 
> 09:42 CEST:
> >> > > * Peter Ekberg wrote on Fri, Sep 02, 2005 at 09:50:01PM CEST:
> >> > > > Ralf Wildenhues wrote: 
> >> 
> >> > 
> >> > Ah, the \\\1 part needs an extra round of escapes. See 
> new patch. 
> >> 
> >> The new patch still fails with the `w1$' error above. 
> >> 
> >> > Like this?
> >> > 
> >> >  * libltdl/config/ltmain.m4sh (func_generate_dlsyms):
> >> >  Fix escape expression to actually escape relevant
> >> >  characters from the following grep. Fix Cygwin and
> >> >  MinGW to use the filtered symbol list when exporting
> >> >  from self, and not the symbol filter.
> >> >  * tests/stresstest.at: Export w8, not w8$ 
> >> 
> >> I believe not.  :)
> >> (Unless I messed up testing your patch)
> > 
> > I think you did, as it works for me. I just tested again. I'm
> > attaching the output from
> 
> Darn, I did.  Please apply the patch!  And: thank you, I owe you
> a beer for this one, too! 

Applied it as is...

Index: libltdl/config/ltmain.m4sh
===================================================================
RCS file: /cvsroot/libtool/libtool/libltdl/config/ltmain.m4sh,v
retrieving revision 1.5
diff -u -r1.5 ltmain.m4sh
--- libltdl/config/ltmain.m4sh  28 Aug 2005 15:34:19 -0000      1.5
+++ libltdl/config/ltmain.m4sh  8 Sep 2005 13:00:53 -0000
@@ -848,15 +848,15 @@
            }
          else
            $opt_dry_run || {
-             eval "${SED} -e 's/\([[ ]][[.*^$]]\)/\\\1/g' -e 's/^/ /'
-e 's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+             eval "${SED} -e 's/\([[].[*^$]]\)/\\\\\1/g' -e 's/^/ /' -e
's/$/$/'"' < "$export_symbols" > "$output_objdir/$outputname.exp"'
+             eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist"
> "$nlist"T'
+             eval '$MV "$nlist"T "$nlist"'
              case $host in
                *cygwin | *mingw* )
                  eval "echo EXPORTS "'>
"$output_objdir/$outputname.def"'
-                 eval 'cat "$output_objdir/$outputname.exp" >>
"$output_objdir/$outputname.def"'
+                 eval 'cat "$nlist" >>
"$output_objdir/$outputname.def"'
                  ;;
              esac
-             eval '$GREP -f "$output_objdir/$outputname.exp" < "$nlist"
> "$nlist"T'
-             eval '$MV "$nlist"T "$nlist"'
            }
          fi
        fi
Index: tests/stresstest.at
===================================================================
RCS file: /cvsroot/libtool/libtool/tests/stresstest.at,v
retrieving revision 1.4
diff -u -r1.4 stresstest.at
--- tests/stresstest.at 27 Apr 2005 18:18:10 -0000      1.4
+++ tests/stresstest.at 8 Sep 2005 13:00:54 -0000
@@ -154,7 +154,7 @@
 w5
 w6
 w7
-w8$
+w8
 w9
 w10
 w11




reply via email to

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