From: Ralf Wildenhues Date: Fri, 1 Oct 2004 11:03:03 +0000 (+0000) Subject: * config/ltmain.in (func_mode_link): Fix quoting bug. Fixes X-Git-Tag: release-1-9d~10 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e184ccb9f6a7f5e393b5c852e4582926c51ed03;p=thirdparty%2Flibtool.git * config/ltmain.in (func_mode_link): Fix quoting bug. Fixes e.g. the quoting of the -export-symbols-regex argument in .la files' relink_command. --- diff --git a/ChangeLog b/ChangeLog index f958c5176..72b09c3cb 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2004-10-01 Ralf Wildenhues + * config/ltmain.in (func_mode_link): Fix quoting bug. Fixes + e.g. the quoting of the -export-symbols-regex argument in .la + files' relink_command. + * libltdl/lt__alloc.c (lt__memdup): Allocation can fail, so we need to guard against null pointer dereference here. * libltdl/ltdl.c (lt_dlcaller_register): Ditto. diff --git a/config/ltmain.in b/config/ltmain.in index 993866488..7ded8e4ca 100644 --- a/config/ltmain.in +++ b/config/ltmain.in @@ -2188,7 +2188,8 @@ func_mode_link () arg="$1" shift qarg=`$ECHO "X$arg" | $Xsed -e "$sed_quote_subst"` - libtool_args="$libtool_args $qarg" + func_quote_for_eval "$qarg" + libtool_args="$libtool_args $func_quote_for_eval_result" # If the previous option needs an argument, assign it. if test -n "$prev"; then