]> git.ipfire.org Git - thirdparty/postgresql.git/commitdiff
Don't try to import a non-exported object in vcregress.pl
authorAndrew Dunstan <andrew@dunslane.net>
Fri, 12 Jun 2026 14:20:34 +0000 (10:20 -0400)
committerAndrew Dunstan <andrew@dunslane.net>
Fri, 12 Jun 2026 14:20:34 +0000 (10:20 -0400)
Commit ca9e9b08e453 wrongly tried to import devnull from File::Spec, but
it's not exported, you just call the method via the class. This was
harmless until modern perls complained, so stop doing that.

Per buildfarm failures.

Backpatch 14 thru 16

src/tools/msvc/vcregress.pl

index 57b1a0c22134b8df98d294bca9ffa3c2144cc70c..9a94481868328161ee1fc3307988fecd4acead78 100644 (file)
@@ -14,7 +14,7 @@ use File::Basename;
 use File::Copy;
 use File::Find ();
 use File::Path qw(rmtree);
-use File::Spec qw(devnull);
+use File::Spec;
 
 use FindBin;
 use lib $FindBin::RealBin;