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

Re: [perl #53244] perl-5.10.0-33733 assertion with JSON::XS-2.2

Thread Previous | Thread Next
From:
Marc Lehmann
Date:
April 25, 2008 16:57
Subject:
Re: [perl #53244] perl-5.10.0-33733 assertion with JSON::XS-2.2
Message ID:
20080425235707.GA4635@schmorp.de
On Fri, Apr 25, 2008 at 02:58:37PM +0100, Nicholas Clark <nick@ccl4.org> wrote:
> It can be fixed with the appended patch.

This is especially troubling as the code goes to the expense of upgrading
to SVt_PV before. If XS code cannot use SvCUR anymore after upgrading to
SVt_PV then I would consider this a serious regression.

At least the new requirement of having to check a private flag (which
isn't explained anywhere) before calling SVCUR even on pv's should be
clearly documented as a change in behaviour.

-- 
                The choice of a       Deliantra, the free code+content MORPG
      -----==-     _GNU_              http://www.deliantra.net
      ----==-- _       generation
      ---==---(_)__  __ ____  __      Marc Lehmann
      --==---/ / _ \/ // /\ \/ /      pcg@goof.com
      -=====/_/_//_/\_,_/ /_/\_\

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