On Thu, Jul 17, 2008 at 9:59 PM, Christoph Otto via RT
<[EMAIL PROTECTED]> wrote:

> With this patch, the new tests still pass on Linux/x86.  The patch uses
> STRING->strstart to avoid leaking a malloc'd buffer when throwing an
> exception, which may or may not be considered kosher in this situation.

Can't you use real_exception(interp, NULL, E_SystemError, "%Ss",
errmsg_pstring); ?

Using internal details of parrot strings must be avoided.

-- 
Salu2

Reply via email to