]> git.ipfire.org Git - thirdparty/coreutils.git/commit
Be extra careful to quote $abs_top_builddir-derived names.
authorJim Meyering <meyering@redhat.com>
Fri, 30 Nov 2007 12:45:38 +0000 (13:45 +0100)
committerJim Meyering <meyering@redhat.com>
Fri, 30 Nov 2007 12:45:38 +0000 (13:45 +0100)
commit9db1c230c4b9178b1f9ab41c47f3615c54b42852
treefa66965cbba1371b01e5fdcab9c2ff3e59d74821
parent94a2bd5bf7d92c9d87cf2d8c7a7612144cce4277
Be extra careful to quote $abs_top_builddir-derived names.

* tests/misc/ls-misc (shell_quote): New function.
Use it to quote file names derived from $abs_top_builddir,
in case it contains shell meta-characters.  This is not currently
needed, since CuTmpdir detects the fishy name and skips the test.
But it's important enough to add the extra protection.
Reported by Ralf Wildenhues.
ChangeLog
tests/misc/ls-misc