diff --git a/ChangeLog b/ChangeLog index 9892427d..5f5e23ad 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2010-08-22 Paolo Bonzini + + Fix sed_make_literal_regex. + * libltdl/config/general.m4sh (sed_make_literal_regex): Fix + definition. + 2010-08-15 Paolo Bonzini Factor the sed command used to make a regex from a literal. diff --git a/libltdl/config/general.m4sh b/libltdl/config/general.m4sh index 1ccb9b04..595c57a0 100644 --- a/libltdl/config/general.m4sh +++ b/libltdl/config/general.m4sh @@ -317,7 +317,7 @@ double_quote_subst='s/\(["`\\]\)/\\\1/g' # Sed substitution that turns a string into a regex matching for the # string literally. -sed_make_literal_regex='s,[].[^$\\*/],\\\\&,g' +sed_make_literal_regex='s,[].[^$\\*\/],\\&,g' # Re-`\' parameter expansions in output of double_quote_subst that were # `\'-ed in input to the same. If an odd number of `\' preceded a '$'