On Thu, Dec 10, 2009 at 01:34:36PM -0500, Andy Dougherty wrote:
>
> My point is that I don't think it's guaranteed that _bufstart == strstart.
> They are equal when the string is initially created, but not guaranteed
> to stay that way.
Andy is as usual correct. Here's some PIR that works in 1.8.0
but now fails in trunk due to r42961:
$ cat x.pir
.sub 'main'
$S0 = '/home/MyPGE.pbc'
$S1 = substr $S0, 8
load_bytecode $S1
say 'loaded PGE.pbc'
.end
$ RELEASE_1_8_0/parrot x.pir
loaded PGE.pbc
$ trunk/parrot_config revision
42977
$ trunk/parrot x.pir
Parrot VM: Can't stat PGE.pbc, code 2.
Unable to append PBC to the current directory
current instr.: 'main' pc 0 (x.pir:3)
Good catch, Andy.
Pm
_______________________________________________
http://lists.parrot.org/mailman/listinfo/parrot-dev