> This patch fixes a segfault in r7928 when load_bytecode cannot find the
> pbc file. e.g.
>
> .sub test
> # (Assumes hello.pbc doesn't exist)
> load_bytecode "hello.pbc"
> end
> .end
Looks good to me.
Before I apply it, I think it needs a test case. I'll write it from
this example. How about t/stress/internal_exceptions.t?
Any other feedback?
-- c
This patch fixes a segfault in r7928 when load_bytecode cannot find the
pbc file. e.g.
.sub test
# (Assumes hello.pbc doesn't exist)
load_bytecode "hello.pbc"
end
.end
Regards,
Nick
> Before I apply it, I think it needs a test case. I'll write it from
> this example. How about t/stress/internal_exceptions.t?
>
> Any other feedback?
This should be a real_exception, not an internal one.
jens