Re: [perl #43105] [PATCH] function mmd.c::mmd_expand_y: newly allocated memory unitialized

2007-06-02 Thread Mehmet Yavuz Selim Soyturk
On 6/2/07, chromatic [EMAIL PROTECTED] wrote: On Friday 01 June 2007 16:29:08 Mehmet Yavuz Selim Soyturk wrote: After a suggestion of Bernhard at #parrot, I added a function named Cmem_sys_realloc_zeroed to parrot: void * mem__sys_realloc_zeroed(void *from, size_t size, size_t old_size)

Re: [svn:parrot] r18724 - in trunk/config: auto init/hints

2007-06-02 Thread Andy Bach
Nicholas Clark wrote: Works for me! :-) A note: as possibly the stumbler-upon-this-issue; chromatic's patch made things work here, right through make smoke. Thanks. a -- Andy Bach, Sys. Mangler Internet: [EMAIL PROTECTED] VOICE: (608) 261-5738 FAX 264-5932 Capital is only the fruit

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread James Keenan via RT
On Fri Jun 01 19:46:40 2007, rgrjr wrote: This is from the Small tweak to Pmc2c.pm I posted on 19-May and committed as r18646 on 26-May. Note that lib/Parrot/Pmc2c.pm is not actually doing anything different now, it's just telling you that none of the code for these methods is being used in

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread James Keenan via RT
Test now passes on Darwin and Linux. Resolving ticket.

Re: Use const proactively

2007-06-02 Thread Klaas-Jan Stol
On 6/2/07, Andy Lester [EMAIL PROTECTED] wrote: From my wiki at http://xoa.petdance.com/Use_const_proactively Const your local variables The following is adapted from C++ Coding Standards by Herb Sutter and Andrei Alexandrescu (with some C++-specific stuff removed): const is your

Re: Relocation of the pod_todo.t test

2007-06-02 Thread chromatic
On Thursday 31 May 2007 13:48:04 Paul Cochrane wrote: I recently added a test for TODO items in the pod source, but added it to the t/doc/ test suite. It is more of a coding standards test anyway, and I was wondering if it would be ok if I moved it from the doc tests into the coding

[perl #43107] t/tools/pmc2cutils/05-gen_c: Warnings being thrown in testing of Parrot::Pmc2c::Pmc2cMain

2007-06-02 Thread Bob Rogers
From: James Keenan via RT [EMAIL PROTECTED] Date: Sat, 02 Jun 2007 05:12:41 -0700 On Fri Jun 01 19:46:40 2007, rgrjr wrote: This is from the Small tweak to Pmc2c.pm I posted on 19-May and committed as r18646 on 26-May. Note that lib/Parrot/Pmc2c.pm is not actually doing

BigInt bitwise_and, anyone?

2007-06-02 Thread Bob Rogers
I started hacking this because I thought I needed it, but that turned out not to be true. Should I finish it (it still needs tests), or is there some reason to hold off? -- Bob Rogers http://rgrjr.dyndns.org/

Re: [svn:parrot] r18767 - in trunk: config/gen/makefiles include/parrot src tools/build

2007-06-02 Thread chromatic
On Saturday 02 June 2007 13:44:25 [EMAIL PROTECTED] wrote: First version of the headerizer works successfully on include/parrot/string_funcs.h This checkin broke at least one test. I know accidents happen, but you've had at least three checkins that have broken the compile or the tests in

Making I-reg shifts consistent with PMC shifts

2007-06-02 Thread Bob Rogers
The attached patch amends the I-reg shift operators so that they produce results that are consistent with PMC shifts, which produce the exact value [1]. Shifting left or right by at least the word size always produces zero, and negative shift values are taken to mean shift in the other