Properly handle funny file names for headers in config.status.
commit2abed75dde56a57de82794fb97fc71f2275c0af5
authorBenoit Sigoure <tsuna@lrde.epita.fr>
Tue, 18 Dec 2007 12:54:07 +0000 (18 13:54 +0100)
committerRalf Wildenhues <Ralf.Wildenhues@gmx.de>
Sun, 2 Mar 2008 12:00:23 +0000 (2 13:00 +0100)
tree05c95d4e5f5c8874493717d809b52f8f6e64d057
parentc197dc8d27790ecf5f18ee6769545a07cccedf9f
Properly handle funny file names for headers in config.status.

The test suite did not cover this bug because the code was not
quoting properly the arguments of `rm -f' (which "fails" silently)
as well as the arguments of `diff' (whose output was redirected to
/dev/null so we couldn't see its error message).
* lib/autoconf/status.m4 (_AC_OUTPUT_HEADER): Properly quote the
file names passed to `rm' and `diff'.
* tests/torture.at (AC_CONFIG_FILES, HEADERS, LINKS and COMMANDS):
Add a regression test.

Signed-off-by: Benoit Sigoure <tsuna@lrde.epita.fr>
Signed-off-by: Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
ChangeLog
lib/autoconf/status.m4
tests/torture.at