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
[perl #112966] Crash on delete local; other local bugs
[perl5.git]
/
pp.h
diff --git
a/pp.h
b/pp.h
index
deafed3
..
93aeb91
100644
(file)
--- a/
pp.h
+++ b/
pp.h
@@
-475,8
+475,8
@@
True if this op will be the return value of an lvalue subroutine
#define SvCANEXISTDELETE(sv) \
(!SvRMAGICAL(sv) \
#define SvCANEXISTDELETE(sv) \
(!SvRMAGICAL(sv) \
- ||
(
(mg = mg_find((const SV *) sv, PERL_MAGIC_tied)) \
-
&&
(stash = SvSTASH(SvRV(SvTIED_obj(MUTABLE_SV(sv), mg)))) \
+ ||
!
(mg = mg_find((const SV *) sv, PERL_MAGIC_tied)) \
+
|| (
(stash = SvSTASH(SvRV(SvTIED_obj(MUTABLE_SV(sv), mg)))) \
&& gv_fetchmethod_autoload(stash, "EXISTS", TRUE) \
&& gv_fetchmethod_autoload(stash, "DELETE", TRUE) \
) \
&& gv_fetchmethod_autoload(stash, "EXISTS", TRUE) \
&& gv_fetchmethod_autoload(stash, "DELETE", TRUE) \
) \