Content-Length: 258928 | pFad | http://github.com/postgrespro/postgres/commit/c4528fdfa903c74cf99837a554bd3c7e115bb366

6F Remove incorrect function import from pgindent · postgrespro/postgres@c4528fd · GitHub
Skip to content

Commit c4528fd

Browse files
Remove incorrect function import from pgindent
Commit 149ac7d 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
1 parent 9735428 commit c4528fd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/pgindent/pgindent

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ use warnings FATAL => 'all';
77

88
use Cwd qw(abs_path getcwd);
99
use File::Find;
10-
use File::Spec qw(devnull);
10+
use File::Spec;
1111
use File::Temp;
1212
use IO::Handle;
1313
use Getopt::Long;

0 commit comments

Comments
 (0)








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/postgrespro/postgres/commit/c4528fdfa903c74cf99837a554bd3c7e115bb366

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy