]> 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:25:55 +0000 (10:25 -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 1f6f19bd91bc8bfda65122e9aef1dcc72acca00b..360a43ece055761cbbe67e8cf152f8a29c096a35 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;