I'm pushing the first four patches now. I will wait on the fifth one for a couple of days for any feedback.
On cygwin, attempts to do a glob() with a filename that contains a backslash can issue a warning; but I have been unable to reliably reproduce that in my environment (otherwise, I would have used it as an example in the second patch). But see these links for an example of where unintended globbing matters: http://cygwin.com/ml/cygwin/2009-04/msg00531.html https://alioth.debian.org/tracker/?group_id=100114&atid=413095&func=detail&aid=311614 Eric Blake (5): m4sh: fix some namespace safety issues docs: mention cost of globbing during variable expansion tests: improve some shell assumption testing m4sh: reduce size of AS_VAR_TEST_SET m4sh: assume ${a:-b} support ChangeLog | 49 +++++++++++++++++++++++++ bin/autoconf.as | 2 +- doc/autoconf.texi | 48 +++++++++++++++++++++---- lib/autoconf/functions.m4 | 2 +- lib/autoconf/general.m4 | 2 +- lib/autoconf/status.m4 | 2 +- lib/autotest/general.m4 | 2 +- lib/m4sugar/m4sh.m4 | 36 ++++++++++++------- tests/autotest.at | 2 +- tests/c.at | 4 +- tests/foreign.at | 2 +- tests/fortran.at | 28 +++++++------- tests/m4sh.at | 89 ++++++++++++++++++++++++++++++++++++++++++--- tests/tools.at | 2 +- tests/torture.at | 2 +- 15 files changed, 221 insertions(+), 51 deletions(-) -- 1.7.2.2
