This is a live mirror of the Perl 5 development currently hosted at
https://github.com/perl/perl5
https://perl5.git.perl.org
/
perl5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bc24b51
)
devel/mktodo.pl: Explicitly close file
author
Karl Williamson
<khw@cpan.org>
Mon, 15 Jul 2019 19:16:54 +0000
(13:16 -0600)
committer
Nicolas R
<atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:31 +0000
(16:39 -0600)
I'm not sure if it was always getting closed or not.
(cherry picked from commit
b173ed3c45da4be559e3c5da128a9fcb9b95f27c
)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/devel/mktodo.pl
patch
|
blob
|
blame
|
history
diff --git
a/dist/Devel-PPPort/devel/mktodo.pl
b/dist/Devel-PPPort/devel/mktodo.pl
index
15b69f1
..
9fc49ec
100644
(file)
--- a/
dist/Devel-PPPort/devel/mktodo.pl
+++ b/
dist/Devel-PPPort/devel/mktodo.pl
@@
-428,6
+428,8
@@
sub write_todo # Write out the todo file. The keys of %sym are known to not
for (sort dictionary_order keys %$sym) {
$f->print(sprintf "%-30s # %s\n", $_, $sym->{$_});
}
+
+ $f->close;
}
sub find_undefined_symbols