[svn:parrot] r46564 - trunk/src/string/charset

NotFound julian.notfound at gmail.com
Thu May 13 12:42:11 UTC 2010


> This change causes a segfault when running parrot-nqp on an empty file
> (empty.pm) as follows:
> touch empty.pm
> ./parrot-nqp --target=pir -o empty.pir empty.pm
> Curiously the segfault only happens when the options are in that order.
>  Using "-o empty.pir --target=pir" works fine.  If it looks like this commit
> is exposing something broken, a tt is in order.

No, the problem was in my code, and the condition that triggers the
bug it was not tested.

Added a test in r46586 and applied a fixed version in r46587. Thanks!

-- 
Salu2


More information about the parrot-dev mailing list