In message <[EMAIL PROTECTED]>
Leopold Toetsch <[EMAIL PROTECTED]> wrote:
> This patch contains:
> - removal of the initial parameter from intlist_new - no need for it in
> the public interface (thanks Tom)
> - junk_list is now a Buffer, which gets collected
> - some macros to hide this
> - more docs on indexed access/junk_list
> - overall cleanup for junk_list
> - rebuild_junk_list is forced after collection
I applied this to my checkout (with _intlist_new renamed to
allocate_chunk because names starting with _ are reserved).
Unfortunately it doesn't test clean afterwards:
dunsmere [~/src/parrot] % perl t/harness t/pmc/intlist.t
t/pmc/intlist....NOK 3# Failed test (t/pmc/intlist.t at line 149)
# got: ''
# expected: 'ok
# '
t/pmc/intlist....NOK 4# Failed test (t/pmc/intlist.t at line 189)
# got: ''
# expected: 'ok 1
# ok 2
# '
# Looks like you failed 2 tests of 4.
t/pmc/intlist....dubious
Test returned status 2 (wstat 512, 0x200)
DIED. FAILED tests 3-4
Failed 2/4 tests, 50.00% okay
Failed Test Stat Wstat Total Fail Failed List of Failed
-------------------------------------------------------------------------------
t/pmc/intlist.t 2 512 4 2 50.00% 3-4
Failed 1/1 test scripts, 0.00% okay. 2/4 subtests failed, 50.00% okay.
Tom
--
Tom Hughes ([EMAIL PROTECTED])
http://www.compton.nu