Matt Diephouse <[EMAIL PROTECTED]> wrote:

> harmony:~/Projects/parrot ezekiel$ cat test.pir
>   .sub main @MAIN
>     $P0 = open "test.pir", "<"
>     $S0 = readline $P0
>     print $S0
>     $S1 = read $P0, 3
>     print $S1
>     print "\n"
>   .end
>   harmony:~/Projects/parrot ezekiel$ parrot test.pir
>   .sub main @MAIN
>   readline: buffer too short

Should be fixed now. Tests are welcome.

leo

Reply via email to