Should the Length of string_substr() Ever Be Negative?

2008-10-04 Thread chromatic
In src/string.c, the documentation for string_substr() says: =item C Copies the substring of length C from C from the specified Parrot string and stores it in C<**d>, allocating memory if necessary. The substring is also returned. =cut */ The signature is: PARROT_API PARROT_CANNOT_RETURN_NULL

Re: [perl #59576] [PATCH] 'property' scope for PAST::Var

2008-10-04 Thread Patrick R. Michaud
On Fri, Oct 03, 2008 at 06:23:42AM -0700, I Sop wrote: > > From: Patrick R. Michaud via RT <[EMAIL PROTECTED]> > > On Thu, Oct 02, 2008 at 02:16:01PM -0700, I Sop wrote: > > > > > > I just copied the 'attribute' method, renamed > > > everything, and changed the parameter order for the > > > 'getpr

Re: [perl #59112] Failing test in t/examples/library.t

2008-10-04 Thread NotFound
>> Your point is very interesting. However, if you believe this issue >> merits more extended discussion, I would recommend you open up a new RT >> ticket, perhaps in the [RFC] category (or [RFP] or whatever it's called). >> >> I would like to keep the discussion in *this* RT focused on the issues

Re: [perl #59600] [PATCH] Require Storable 2.13 indirectly by requiring perl 5.8.6

2008-10-04 Thread Reini Urban
2008/10/4 James Keenan via RT <[EMAIL PROTECTED]>: > On Fri Oct 03 08:55:12 2008, coke wrote: >> This is a patch-response to r31585, which required a particular >> version of Storable in one file. >> >> Attached, find a patch which bumps our core perl requirement to 5.8.6, >> the first time this pa

Re: [perl #59614] Wrong PC/line reported in handler arg-passing error

2008-10-04 Thread NotFound
> The problem is that pc 9/line 3 is the location of the invokecc > instruction that calls the erring test sub, not the location of the > get_results instruction where the problem is detected. I'm not sure how > to fix this, because it messes greatly with the modularity of how return > addresses a

Re: [perl #59590] Parse Error for 'make splint'

2008-10-04 Thread NotFound
> When fiddling with 'make splint' I ran into a Splint parse error: > > src/exceptions.c:500:25: Variable size initialized to type int, expects > size_t: backtrace(array, 32) > src/exceptions.c:503:36: Unrecognized format code: %zd stack frames (max > trace depth is %d).\n > src/exceptions.c:507:17

[perl #59614] Wrong PC/line reported in handler arg-passing error

2008-10-04 Thread via RT
# New Ticket Created by Bob Rogers # Please include the string: [perl #59614] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59614 > Invoking the attached test case fails in the following way: [EMAIL PROTECTED]>

[perl #59590] Parse Error for 'make splint'

2008-10-04 Thread via RT
# New Ticket Created by Bernhard Schmalhofer # Please include the string: [perl #59590] # in the subject line of all future correspondence about this issue. # http://rt.perl.org/rt3/Ticket/Display.html?id=59590 > When fiddling with 'make splint' I ran into a Splint parse error: src/exception

Re: [perl #59576] [PATCH] 'property' scope for PAST::Var

2008-10-04 Thread I Sop
> From: Patrick R. Michaud via RT <[EMAIL PROTECTED]> > Subject: Re: [perl #59576] [PATCH] 'property' scope for PAST::Var > To: [EMAIL PROTECTED] > Date: Friday, October 3, 2008, 12:31 PM > On Thu, Oct 02, 2008 at 02:16:01PM -0700, I Sop wrote: > > > > I just copied the 'attribute' method, renamed