From 072341693ee79a20925f263151d830b63a97b37b Mon Sep 17 00:00:00 2001 From: Peter Ekberg Date: Tue, 13 Sep 2005 07:28:14 +0000 Subject: [PATCH] * 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$ --- ChangeLog | 12 +++++++++++- libltdl/config/ltmain.m4sh | 8 ++++---- tests/stresstest.at | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/ChangeLog b/ChangeLog index 540264963..454bd172e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,13 @@ +2005-09-13 Peter Ekberg , + Ralf Wildenhues + + * 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$ + 2005-09-12 Ralf Wildenhues Make tagdemo work smoothly with both pre- and ISO C++ compilers, @@ -250,7 +260,7 @@ (_LT_LINKER_SHLIBS): Double-quote unsafe tag variable descriptions: they are literals. -2005-08-25 Peter Ekberg +2005-08-25 Peter Ekberg , Ralf Wildenhues * tests/standalone.at: (without autotools): Add diff --git a/libltdl/config/ltmain.m4sh b/libltdl/config/ltmain.m4sh index 6d4e60fe4..e5df9edf4 100644 --- a/libltdl/config/ltmain.m4sh +++ b/libltdl/config/ltmain.m4sh @@ -848,15 +848,15 @@ extern \"C\" { } 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 diff --git a/tests/stresstest.at b/tests/stresstest.at index 82b9ebc11..1db5a4088 100644 --- a/tests/stresstest.at +++ b/tests/stresstest.at @@ -154,7 +154,7 @@ w4 w5 w6 w7 -w8$ +w8 w9 w10 w11 -- 2.47.3