]> granicus.if.org Git - postgresql/commit
Fix Perl code which had broken the Windows build
authorPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Mar 2017 13:00:59 +0000 (09:00 -0400)
committerPeter Eisentraut <peter_e@gmx.net>
Tue, 28 Mar 2017 13:00:59 +0000 (09:00 -0400)
commit4d33a7f2e714848ca7b5b7ef8e244eead078ca13
treecd1ce20e46e8124398d67db91e2c1cbf2ca0d33c
parenta6f22e83562d8b78293229587cd3d9430d16d466
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@ilmari.org>
src/tools/msvc/vcregress.pl