pgsql: Fix perl searchpath for modern perl for MSVC tools - Mailing list pgsql-committers

From Andrew Dunstan
Subject pgsql: Fix perl searchpath for modern perl for MSVC tools
Date
Msg-id E1gGqm8-0004NW-Gr@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
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_4_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/698255147391a16493ba6cefd014b272b757b4b8

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(+)


pgsql-committers by date:

Previous
From: Michael Paquier
Date:
Subject: pgsql: Add tab completion of EXECUTE FUNCTION for CREATE TRIGGER inpsq
Next
From: Thomas Munro
Date:
Subject: pgsql: Remove incorrect comment in dshash.c.