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
change sv_setsv(sv,NULL) to sv_set_undef(sv)
[perl5.git]
/
pp_hot.c
diff --git
a/pp_hot.c
b/pp_hot.c
index
d4b32c9
..
c580f26
100644
(file)
--- a/
pp_hot.c
+++ b/
pp_hot.c
@@
-2245,7
+2245,7
@@
Perl_do_readline(pTHX)
if (gimme == G_SCALAR) {
/* undef TARG, and push that undefined value */
if (type != OP_RCATLINE) {
- sv_set
sv(TARG,NULL
);
+ sv_set
_undef(TARG
);
}
PUSHTARG;
}