Skip Menu |
 

This queue is for tickets about the List-MoreUtils CPAN distribution.

Report information
The Basics
Id: 38630
Status: resolved
Priority: 0/
Queue: List-MoreUtils

People
Owner: Nobody in particular
Requestors: user42 [...] zip.com.au
Cc:
AdminCc:

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



Subject: wrong results from apply() [XS]
Date: Thu, 21 Aug 2008 08:49:03 +1000
To: bug-list-moreutils [...] rt.cpan.org
From: Kevin Ryde <user42 [...] zip.com.au>
Download (untitled) / with headers
text/plain 530b
In the debian packaged perl 5.10.0 and list-moreutils 0.22 (packaged or my build), the program below prints CODE(0x876aba8) where I hoped it would be myresult The latter is what I get from forcing the pure-perl code (the commented out BEGIN in the program). grow_the_stack() is supposed to do what it says :-), ie. grow the stack. I suspect it moves the memory, thus making the "args" pointer in apply() no good. The diff below to refresh it seems to make the program work ... or perhaps that's only by accident.
Download applygrow.pl
text/x-perl 341b

Message body is not shown because sender requested not to inline it.

Message body is not shown because sender requested not to inline it.

-- "Mr Simpson I dread the day when $100,000 isn't worth grovelling for." -- C. M. Burns
This is resolved in 0.23 which I just uploaded to the CPAN.


This service is sponsored and maintained by Best Practical Solutions and runs on Perl.org infrastructure.

Please report any issues with rt.cpan.org to rt-cpan-admin@bestpractical.com.