pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@postgresql.org
Subject: pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
Date: Sat, 09 Jul 2016 20:47:59 +0000
Message-ID: <E1bLzAN-0004Td-Tg@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

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>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/30b2731bd21741a6370afba330cea31c75da3bdb

Modified Files
--------------
src/test/perl/PostgresNode.pm |  7 ++++---
src/tools/msvc/Install.pm     | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl   | 20 +++++++++++++-------
3 files changed, 39 insertions(+), 20 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (6+ messages)  latest in thread

Message-ID: <E1bLzAN-0004Td-Tg@gemulon.postgresql.org>
Permalink:  ../E1bLzAN-0004Td-Tg@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1bLzAN-0004Td-Tg@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
  In-Reply-To: <E1bLzAN-0004Td-Tg@gemulon.postgresql.org>
  References: <E1bLzAN-0004Td-Tg@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox