develooper Front page | perl.perl5.porters | Postings from April 2012

Re: 5.15.9 breaks Glib

Thread Previous | Thread Next
From:
Dave Mitchell
Date:
April 1, 2012 10:12
Subject:
Re: 5.15.9 breaks Glib
Message ID:
20120401171210.GA2961@iabyn.com
On Tue, Mar 27, 2012 at 08:45:45PM +0200, Torsten Schoenfeld wrote:
> On 26.03.2012 16:01, Dave Mitchell wrote:
> >     This is because it turns out that some XS code (e.g. Glib) can leave an SV
> >     with a null SvMAGIC field, but with magic flags still set.
> 
> Is there something that Glib should do differently?  Our current
> magic-removal code is here:
> <http://git.gnome.org/browse/perl-Glib/tree/GObject.xs#n150>.

Well ideally it should turn off the magic flags (SvMAGICAL_off(sv))
if there's no magic left.

-- 
Thank God I'm an atheist.....

Thread Previous | Thread Next


nntp.perl.org: Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at ask@perl.org | Group listing | About