Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc5b9097

Browse files
Remove incorrect function import from pgindent
Commit149ac7d which re-implemented pgindent in Perl explicitlyimported the devnull function from File::Spec, but the module doesnot export anything. In recent versions of Perl calling a missingimport function cause a warning, which combined with warnings beingfatal 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.nameBackpatch-through: v12
1 parentc4b8a91 commitc5b9097

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 Cwdqw(abs_path getcwd);
99
use File::Find;
10-
use File::Specqw(devnull);
10+
use File::Spec;
1111
use File::Temp;
1212
use IO::Handle;
1313
use Getopt::Long;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp