summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrew Dunstan <andrew@dunslane.net>2022-01-10 10:08:44 -0500
committerAndrew Dunstan <andrew@dunslane.net>2022-01-10 10:12:53 -0500
commitab3764a417ff58f28b62831ca2cabbb6cfd2133a (patch)
tree72cd75cd52003a72376956b0855d6f32626e19a5 /src
parentb2198690847fa562d46b5f1dec2baef985416791 (diff)
Avoid warning about uninitialized value in MSVC python3 tests
Juan José Santamaría Flecha Backpatch to all live branches
Diffstat (limited to 'src')
-rw-r--r--src/tools/msvc/vcregress.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/tools/msvc/vcregress.pl b/src/tools/msvc/vcregress.pl
index 0afee7e6ec8..8edad20a144 100644
--- a/src/tools/msvc/vcregress.pl
+++ b/src/tools/msvc/vcregress.pl
@@ -302,7 +302,7 @@ sub mangle_plpython3
s/([ [{])u'/$1'/g;
s/def next/def __next__/g;
s/LANGUAGE plpython2?u/LANGUAGE plpython3u/g;
- s/EXTENSION ([^ ]*_)*plpython2?u/EXTENSION $1plpython3u/g;
+ s/EXTENSION (\S*?)plpython2?u/EXTENSION $1plpython3u/g;
s/installing required extension "plpython2u"/installing required extension "plpython3u"/g;
} for ($contents);
my $base = basename $file;