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:
85be41d
)
I somehow managed to omit the base.pm change from #23266
author
Dave Mitchell
<davem@fdisolutions.com>
Sun, 5 Sep 2004 20:16:55 +0000
(20:16 +0000)
committer
Dave Mitchell
<davem@fdisolutions.com>
Sun, 5 Sep 2004 20:16:55 +0000
(20:16 +0000)
p4raw-id: //depot/perl@23267
lib/base.pm
patch
|
blob
|
blame
|
history
diff --git
a/lib/base.pm
b/lib/base.pm
index
e98d0f1
..
832b6a4
100644
(file)
--- a/
lib/base.pm
+++ b/
lib/base.pm
@@
-152,10
+152,9
@@
sub inherit_fields {
}
}
- unless( keys %$bfields ) {
- foreach my $idx (1..$#{$battr}) {
- $dattr->[$idx] = $battr->[$idx] & INHERITED;
- }
+ foreach my $idx (1..$#{$battr}) {
+ next if defined $dattr->[$idx];
+ $dattr->[$idx] = $battr->[$idx] & INHERITED;
}
}