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-0004NM-Fu@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
------
master
Details
-------
https://git.postgresql.org/pg/commitdiff/1df92eeafefac471b8bcb00244452c645e4e14fd
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(+)
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-0004NM-Fu@gemulon.postgresql.org>
References: <E1gGqm8-0004NM-Fu@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