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

[perl #71172] New lvalue subroutine roadblock in 5.10.1 breaks important functionality

Thread Previous | Thread Next
From:
Father Chrysostomos via RT
Date:
January 8, 2012 14:56
Subject:
[perl #71172] New lvalue subroutine roadblock in 5.10.1 breaks important functionality
Message ID:
rt-3.6.HEAD-14510-1326063364-1306.71172-15-0@perl.org
On Sun Jan 08 14:49:34 2012, dom wrote:
> On Mon May 30 21:35:27 2011, sprout wrote:
> > This has hopefully now been fixed by commit b724cc1, which takes away
> > the TEMP check in pp_leavesublv.
> > 
> > Now there is a warning (introduced shortly before in commit 8fe85e3),
> > which is only triggered if a value is assigned to a returned TEMP.
> > 
> > So the error has basically been downgraded.
> 
> And this was re-fixed in fd6c41ce5607a262d2124271d289aa2a0213c049 in a 
> different way.
> 
> There has been a request for the earlier patch for 5.10.1 on this ticket 
> to be applied in Debian (http://bugs.debian.org/654387) and I would be 
> interested in opinions about whether this is sensible to apply.

The earlier patch is no good.  It allows existing bugs (see
<https://rt.perl.org/rt3/Ticket/Display.html?id=78194>) to occur in more
cases.

The later patch is probably OK for 5.10.1, but I have not checked
whether it depends on any other commits.  I don’t think it does.

-- 

Father Chrysostomos


---
via perlbug:  queue: perl5 status: resolved
https://rt.perl.org:443/rt3/Ticket/Display.html?id=71172

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