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
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add isUTF8_CHAR_flags() macro
[perl5.git]
/
pp.c
diff --git
a/pp.c
b/pp.c
index
49b6abe
..
ea49b01
100644
(file)
--- a/
pp.c
+++ b/
pp.c
@@
-5363,6
+5363,8
@@
PP(pp_splice)
for (i = length - 1, dst = &AvARRAY(ary)[offset]; i > 0; i--)
SvREFCNT_dec(*dst++); /* free them now */
}
for (i = length - 1, dst = &AvARRAY(ary)[offset]; i > 0; i--)
SvREFCNT_dec(*dst++); /* free them now */
}
+ if (!*MARK)
+ *MARK = &PL_sv_undef;
}
AvFILLp(ary) += diff;
}
AvFILLp(ary) += diff;
@@
-5459,6
+5461,8
@@
PP(pp_splice)
while (length-- > 0)
SvREFCNT_dec(tmparyval[length]);
}
while (length-- > 0)
SvREFCNT_dec(tmparyval[length]);
}
+ if (!*MARK)
+ *MARK = &PL_sv_undef;
}
else
*MARK = &PL_sv_undef;
}
else
*MARK = &PL_sv_undef;