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

Commitdfe96d6

Browse files
committed
Fix failure with perlcritic in psql's create_help.pl
No buildfarm members have reported that yet, but a recently-refreshedDebian host did.Reviewed-by: Andrew DunstanDiscussion:https://postgr.es/m/Y8ey5z4Nav62g4/K@paquier.xyzBackpatch-through: 11
1 parent1136d81 commitdfe96d6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

‎src/bin/psql/create_help.pl

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@
4141
$define =~tr/a-z/A-Z/;
4242
$define =~s/\W/_/g;
4343

44-
opendir(DIR,$docdir)
44+
opendir(my$dh,$docdir)
4545
ordie"$0: could not open documentation source dir '$docdir':$!\n";
4646
open(my$hfile_handle,'>',$hfile)
4747
ordie"$0: could not open output file '$hfile':$!\n";
@@ -92,7 +92,7 @@
9292

9393
my%entries;
9494

95-
foreachmy$file (sortreaddirDIR)
95+
foreachmy$file (sortreaddir$dh)
9696
{
9797
my ($cmdid,@cmdnames,$cmddesc,$cmdsynopsis);
9898
$file =~/\.sgml$/ornext;
@@ -215,4 +215,4 @@
215215

216216
close$cfile_handle;
217217
close$hfile_handle;
218-
closedirDIR;
218+
closedir$dh;

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp