mirror of
https://github.com/postgres/postgres.git
synced 2025-05-06 19:59:18 +03:00
Remove incorrect function import from pgindent
Commit 149ac7d4559 which re-implemented pgindent in Perl explicitly imported the devnull function from File::Spec, but the module does not export anything. In recent versions of Perl calling a missing import function cause a warning, which combined with warnings being fatal cause pgindent to error out. Backpatch to all supported versions. Author: Erik Wienhold <ewie@ewie.name> Reviewed-by: Andrew Dunstan <andrew@dunslane.net> Reviewed-by: Daniel Gustafsson <daniel@yesql.se> Discusson: https://postgr.es/m/2372cd74-11b0-46f9-b28e-8f9627215d19@ewie.name Backpatch-through: v12
This commit is contained in:
parent
9735428661
commit
c4528fdfa9
@ -7,7 +7,7 @@ use warnings FATAL => 'all';
|
||||
|
||||
use Cwd qw(abs_path getcwd);
|
||||
use File::Find;
|
||||
use File::Spec qw(devnull);
|
||||
use File::Spec;
|
||||
use File::Temp;
|
||||
use IO::Handle;
|
||||
use Getopt::Long;
|
||||
|
Loading…
x
Reference in New Issue
Block a user