summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/perl/dist/Math-BigInt
diff options
context:
space:
mode:
authorafresh1 <afresh1@openbsd.org>2015-04-25 19:26:15 +0000
committerafresh1 <afresh1@openbsd.org>2015-04-25 19:26:15 +0000
commit2f878dc621ef63a05289a908ed1fdd874b06deeb (patch)
tree9490a8dab0a088b1fe8c99f232a98dcedb83cb69 /gnu/usr.bin/perl/dist/Math-BigInt
parentFix merge issues, remove excess files - match perl-5.20.2 dist (diff)
downloadwireguard-openbsd-2f878dc621ef63a05289a908ed1fdd874b06deeb.tar.xz
wireguard-openbsd-2f878dc621ef63a05289a908ed1fdd874b06deeb.zip
Apply local patches, remove excess files - perl-5.20.2
Diffstat (limited to 'gnu/usr.bin/perl/dist/Math-BigInt')
-rw-r--r--gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm11
1 files changed, 6 insertions, 5 deletions
diff --git a/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm b/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
index eff27b95a97..a2aabc18648 100644
--- a/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
+++ b/gnu/usr.bin/perl/dist/Math-BigInt/lib/Math/BigInt.pm
@@ -2677,11 +2677,12 @@ sub objectify {
next;
}
- # Don't do anything with undefs.
-
- unless (defined($a[$i])) {
- next;
- }
+# # Don't do anything with undefs.
+#
+# unless (defined($a[$i])) {
+# next;
+# }
+ $a[$i] //= 0;
# Perl scalars are fed to the appropriate constructor.