Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

[perl #40145] [PATCH] t/compilers/imcc/syn/macro.t segfault

4 views
Skip to first unread message

Autrijus Tang

unread,
Aug 9, 2006, 9:13:11 PM8/9/06
to bugs-bi...@rt.perl.org
# New Ticket Created by Autrijus Tang
# Please include the string: [perl #40145]
# in the subject line of all future correspondence about this issue.
# <URL: http://rt.perl.org/rt3/Ticket/Display.html?id=40145 >


The segfault (exhibited in 0.4.6) was caused by a missing str_dup in
dan's r4236; passing yytext to other functions would need to preserve
its content first.

Also the original code was misindented from jonathan's r9526.

Please regen imclexer.c in maintainer mode after applying this patch.

Thanks,
Audrey

compilers-imcc-imcc.l.diff
PGP.sig

Leopold Toetsch

unread,
Aug 10, 2006, 3:02:31 PM8/10/06
to perl6-i...@perl.org
Am Donnerstag, 10. August 2006 03:13 schrieb Autrijus Tang:
> The segfault (exhibited in 0.4.6) was caused by a missing str_dup in  
> dan's r4236; passing yytext to other functions would need to preserve  
> its content first.

Which segfault - I didn't see one?
Anyway, applied - r13984, with a little addition that keeps parrot's macro
tests silent re error reporting.

Thanks,
leo

0 new messages