pgsql: Fix Perl code which had broken the Windows build

From: Peter Eisentraut <peter_e(at)gmx(dot)net>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Fix Perl code which had broken the Windows build
Date: 2017-03-28 13:02:50
Message-ID: E1csqlu-00070p-Sj@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Fix Perl code which had broken the Windows build

The previous change wanted to avoid modifying $_ in grep, but the code
just made the change in a local variable and then lost it. Rewrite the
code using a separate map and grep, which is clearer anyway.

Author: Dagfinn Ilmari Mannsåker <ilmari(at)ilmari(dot)org>

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/4d33a7f2e714848ca7b5b7ef8e244eead078ca13

Modified Files
--------------
src/tools/msvc/vcregress.pl | 8 +++-----
1 file changed, 3 insertions(+), 5 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Peter Eisentraut 2017-03-28 13:03:26 Re: [COMMITTERS] pgsql: Clean up Perl code according to perlcritic
Previous Message Dagfinn Ilmari =?utf-8?Q?Manns=C3=A5ker?= 2017-03-28 11:44:51 Re: [COMMITTERS] pgsql: Clean up Perl code according to perlcritic