r42961: bufstart != strstart

James E Keenan jkeen at verizon.net
Fri Dec 11 12:47:21 UTC 2009


Patrick R. Michaud wrote:

> 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)
>

Could this be added to the test suite?

Thanks.

kid51



More information about the parrot-dev mailing list