Subject: | [PATCH] Fix for 5.17.2 |
Data::Alias assumes that it can realloc an op, except under PL_OP_SLAB_ALLOC. This is no
longer true in 5.17.2.
Subject: | open_mOK9cZFu.txt |
diff -rup Data-Alias-1.16-BukH7T-orig/Alias.xs Data-Alias-1.16-BukH7T/Alias.xs
--- Data-Alias-1.16-BukH7T-orig/Alias.xs 2011-11-17 13:57:41.000000000 -0800
+++ Data-Alias-1.16-BukH7T/Alias.xs 2012-07-02 09:39:57.000000000 -0700
@@ -45,7 +45,7 @@
#ifndef RenewOpc
-#ifdef PL_OP_SLAB_ALLOC
+#if defined(PL_OP_SLAB_ALLOC) || PERL_COMBI_VERSION >= 5017002
#define RenewOpc(m,v,n,t,c) \
STMT_START { \
t *tMp_; \