Skip Menu |

This queue is for tickets about the Data-Alias CPAN distribution.

Report information
The Basics
Id: 78148
Status: resolved
Priority: 0/
Queue: Data-Alias

People
Owner: Nobody in particular
Requestors: 'spro^^*%*^6ut# [...] &$%*c
Cc: gregoa [...] cpan.org
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



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_; \
On 20120702T164553Z, SPROUT wrote: Show quoted text
> Data::Alias assumes that it can realloc an op, except under > PL_OP_SLAB_ALLOC. This is no > longer true in 5.17.2.
I have applied the patch and it works. But just to find the next hurdle at https://rt.perl.org:443/rt3/Ticket/Display.html?id=115684
There's also #85690 in the meantime.
Patch included in Data-Alias-1.17, now on CPAN.