[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH v2] Properly handle funny file names for headers in config.st
Re: [PATCH v2] Properly handle funny file names for headers in config.status.
Tue, 18 Dec 2007 08:09:21 +0100
On Dec 18, 2007, at 5:33 AM, Eric Blake wrote:
According to Benoit Sigoure on 12/17/2007 9:21 AM:
+# Neutralize special characters interpreted by sed in replacement
+case $configure_input in #(
+ *'&'*) ac_sed_conf_input=`AS_ECHO(["$configure_input"]) |
+ sed 's/\\\\/\\\\\\\\/g;s/&/\\\\\\&/g'`;;
+ *) ac_sed_conf_input=$configure_input
How on earth did the test 119 succeed with this obvious syntax error?!
# Neutralize VPATH when `$srcdir' = `.'.
+# Run the same test a 2nd time to see that config.status does not
+# the header (regression test)
+ , [config.status: creating file with funny \ ' \' $ & #!*?
+config.status: file with funny \ ' \' $ & #!*? name is unchanged
Unrelated to what you are fixing, but this test also needs
w32-safe characters, so we might as well do it now; see
OK, let's do it in a separate commit.
Benoit Sigoure aka Tsuna
EPITA Research and Development Laboratory