]> granicus.if.org Git - postgresql/commitdiff
MSVC: Add "use File::Path qw(rmtree)".
authorNoah Misch <noah@leadboat.com>
Wed, 29 May 2019 02:28:36 +0000 (19:28 -0700)
committerNoah Misch <noah@leadboat.com>
Wed, 29 May 2019 02:29:04 +0000 (19:29 -0700)
My back-patch of commit 10b72deafea5972edcafb9eb3f97154f32ccd340 added
calls to File::Path::rmtree(), but v10 and older had not been importing
that symbol.  Back-patch to v10, 9.6 and 9.5.

src/tools/msvc/vcregress.pl

index 699873cd029582f351b5d3f552cd41d5b2b10d6d..2274d5fafd5f06e96b3d8c07b170c4689693af77 100644 (file)
@@ -10,6 +10,7 @@ use Cwd;
 use File::Basename;
 use File::Copy;
 use File::Find ();
+use File::Path qw(rmtree);
 use File::Spec;
 BEGIN  { use lib File::Spec->rel2abs(dirname(__FILE__)); }