pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
6+ messages / 1 participants
[nested] [flat]

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-09 20:47  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-09 20:47 UTC (permalink / raw)
  To: pgsql-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
------
REL9_4_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/02a898b00cd9f7175691b58fb567b51a53bdaad2

Modified Files
--------------
src/tools/msvc/Install.pm   | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl | 20 +++++++++++++-------
2 files changed, 35 insertions(+), 17 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-09 20:47  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-09 20:47 UTC (permalink / raw)
  To: pgsql-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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-09 20:47  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-09 20:47 UTC (permalink / raw)
  To: pgsql-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
------
REL9_5_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/f80395ca1f95dde1d5e0eabcab148b3645bcb6ec

Modified Files
--------------
src/tools/msvc/Install.pm   | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl | 20 +++++++++++++-------
2 files changed, 35 insertions(+), 17 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-11 15:24  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-11 15:24 UTC (permalink / raw)
  To: pgsql-committers

Fix TAP tests and MSVC scripts for pathnames with spaces.

Back-patch relevant parts of commit 30b2731bd into 9.1-9.3.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/fdf2ee62e6365b2da3a288a90f1607d4ce5caf92

Modified Files
--------------
src/tools/msvc/Install.pm   | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl | 22 ++++++++++++++--------
2 files changed, 36 insertions(+), 18 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-11 15:24  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-11 15:24 UTC (permalink / raw)
  To: pgsql-committers

Fix TAP tests and MSVC scripts for pathnames with spaces.

Back-patch relevant parts of commit 30b2731bd into 9.1-9.3.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_1_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/71af6c006ee5496bedc3002fa14fc20935bbfdd1

Modified Files
--------------
src/tools/msvc/Install.pm | 29 ++++++++++++++++++++---------
1 file changed, 20 insertions(+), 9 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces.
@ 2016-07-11 15:24  Tom Lane <tgl@sss.pgh.pa.us>
  0 siblings, 0 replies; 6+ messages in thread

From: Tom Lane @ 2016-07-11 15:24 UTC (permalink / raw)
  To: pgsql-committers

Fix TAP tests and MSVC scripts for pathnames with spaces.

Back-patch relevant parts of commit 30b2731bd into 9.1-9.3.

Michael Paquier, Kyotaro Horiguchi

Discussion: <20160704.160213.111134711.horiguchi.kyotaro@lab.ntt.co.jp>

Branch
------
REL9_3_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/57e9ea2ddeb09e2e41a8b315e4d6693e8dd749a1

Modified Files
--------------
src/tools/msvc/Install.pm   | 32 ++++++++++++++++++++++----------
src/tools/msvc/vcregress.pl | 20 +++++++++++++-------
2 files changed, 35 insertions(+), 17 deletions(-)


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


^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2016-07-11 15:24 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2016-07-09 20:47 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-09 20:47 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-09 20:47 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-11 15:24 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-11 15:24 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>
2016-07-11 15:24 pgsql: Fix TAP tests and MSVC scripts for pathnames with spaces. Tom Lane <tgl@sss.pgh.pa.us>

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