pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andrew Dunstan <andrew@dunslane.net>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Fix perl searchpath for modern perl for MSVC tools
Date: Sun, 28 Oct 2018 19:31:04 +0000
Message-ID: <E1gGqm8-0004NS-H4@gemulon.postgresql.org> (raw)

Fix perl searchpath for modern perl for MSVC tools

Modern versions of perl no longer include the current directory in the
perl searchpath, as it's insecure. Instead of adding the current
directory, we get around the problem by adding the directory where the
script lives.

Problem noted by Victor Wagner.

Solution adapted from buildfarm client code.

Backpatch to all live versions.

Branch
------
REL9_6_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/9fd6d4eae3009658d0d941262f7dec5ca9b877c1

Modified Files
--------------
src/tools/msvc/install.pl   | 4 ++++
src/tools/msvc/mkvcbuild.pl | 4 ++++
src/tools/msvc/vcregress.pl | 2 ++
3 files changed, 10 insertions(+)



view thread (7+ messages)  latest in thread

Message-ID: <E1gGqm8-0004NS-H4@gemulon.postgresql.org>
Permalink:  ../E1gGqm8-0004NS-H4@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1gGqm8-0004NS-H4@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: andrew@dunslane.net
  Subject: Re: pgsql: Fix perl searchpath for modern perl for MSVC tools
  In-Reply-To: <E1gGqm8-0004NS-H4@gemulon.postgresql.org>
  References: <E1gGqm8-0004NS-H4@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