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

Commit539d387

Browse files
committed
Fix missing regex slash that caused perltidy to get confused on
copyright.pl.Backpatch to 9.2.
1 parent042d9ff commit539d387

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

‎src/tools/copyright.pl

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -37,16 +37,16 @@ sub wanted
3737

3838
# skip file names with binary extensions
3939
# How are these updated? bjm 2012-01-02
40-
return
41-
if (
42-
$_ =~m/\.(ico|bin)$);
40+
returnif ($_ =~m/\.(ico|bin)$/);
4341

44-
my@lines;
45-
tie@lines, "Tie::File",$File::Find::name;
42+
my@lines;
43+
tie@lines,"Tie::File",$File::Find::name;
4644

47-
foreach my$line (@lines) {
48-
# We only care about lines with a copyright notice.
49-
next unless$line =~ m/$cc . *$pgdg /;
45+
foreachmy$line (@lines)
46+
{
47+
48+
# We only care about lines with a copyright notice.
49+
nextunless$line =~m/$cc . *$pgdg/;
5050

5151
# We stop when we've done one substitution. This is both for
5252
# efficiency and, at least in the case of this program, for

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp