From a662d7c46eb9a5734e6356049ccc82e28dbffbf4 Mon Sep 17 00:00:00 2001 From: Paolo Bonzini Date: Sun, 15 Aug 2010 19:04:08 +0200 Subject: [PATCH] Fix sed_make_literal_regex. * libltdl/config/general.m4sh (sed_make_literal_regex): Fix definition. --- ChangeLog | 6 ++++++ libltdl/config/general.m4sh | 2 +- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 9892427d5..5f5e23ad6 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 1ccb9b047..595c57a00 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 '$' -- 2.47.2