Permalink
Browse files

_autovivification: Perl_ck_null is not exported, use PL_check[0] instead

Detected on Windows
  • Loading branch information...
1 parent de65727 commit 50d573862d04b7571eaba90e9912354b47883a30 Reini Urban committed Oct 11, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 C.xs
View
2 C.xs
@@ -150,7 +150,7 @@ CODE:
IV h;
RETVAL = 1;
- if (PL_check[OP_PADSV] != MEMBER_TO_FPTR(Perl_ck_null)) {
+ if (PL_check[OP_PADSV] != PL_check[0]) {
char *package = CopSTASHPV(cop);
#ifdef cop_hints_fetch_pvn
hint = cop_hints_fetch_pvn(cop, "autovivification", strlen("autovivification"), a_hash, 0);

0 comments on commit 50d5738

Please sign in to comment.