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:
d6b8756
)
parts/apicheck.pl: ignore duplicate function
author
Karl Williamson
<khw@cpan.org>
Sat, 20 Jul 2019 21:01:59 +0000
(15:01 -0600)
committer
Nicolas R
<atoomic@cpan.org>
Fri, 27 Sep 2019 22:39:29 +0000
(16:39 -0600)
(cherry picked from commit
9dfb2a45f3db2125b67e3f6b9783e10a129dab57
)
Signed-off-by: Nicolas R <atoomic@cpan.org>
dist/Devel-PPPort/parts/apicheck.pl
patch
|
blob
|
blame
|
history
diff --git
a/dist/Devel-PPPort/parts/apicheck.pl
b/dist/Devel-PPPort/parts/apicheck.pl
index
9c2a0f3
..
65ece66
100644
(file)
--- a/
dist/Devel-PPPort/parts/apicheck.pl
+++ b/
dist/Devel-PPPort/parts/apicheck.pl
@@
-200,6
+200,8
@@
for $f (@f) {
$ignore{$f->{name}} and next;
$f->{flags}{A} or next; # only public API members
+ $ignore{$f->{name}} = 1; # ignore duplicates
+
my $Perl_ = $f->{flags}{p} ? 'Perl_' : '';
my $stack = '';