]> granicus.if.org Git - postgresql/commit
Fix TAP tests and MSVC scripts for pathnames with spaces.
authorTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Jul 2016 20:47:39 +0000 (16:47 -0400)
committerTom Lane <tgl@sss.pgh.pa.us>
Sat, 9 Jul 2016 20:47:39 +0000 (16:47 -0400)
commitf80395ca1f95dde1d5e0eabcab148b3645bcb6ec
tree2b93498ad97b0749909080a31f18dafab91f3a53
parentfead79407a601845b97ed74b8de9e8c865f5eba0
Fix TAP tests and MSVC scripts for pathnames with spaces.

Change assorted places in our Perl code that did things like
system("prog $path/file");
to do it more like
system('prog', "$path/file");
which is safe against spaces and other special characters in the path
variable.  The latter was already the prevailing style, but a few bits
of code hadn't gotten this memo.  Back-patch to 9.4 as relevant.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>
src/tools/msvc/Install.pm
src/tools/msvc/vcregress.pl