]> 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:26:00 +0000 (10:26 -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 2fd01a49ae790e5878f419915a7721e8cdf3c1ca..e4c942da8463bfb0f7ec7afde0d72b5834afa42f 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;