Hi all,
I have pushed this patch (modulo NEWS rearrangements)
Thank you.
--
May you be peaceful, may you live in safety, may you be free from
suffering, and may you live with ease.
___
Chicken-hackers mailing list
Chicken-hackers@nongnu.org
https://l
On Thu, Apr 24, 2014 at 09:30:32AM -0700, Seth Alves wrote:
> (set-file-position! p -1 seek/cur))
> Error: (set-file-position!) invalid negative port position
> -1
Hi Seth,
Thanks for your bug report and patch. I started wondering why
CHICKEN is trying to catch this case in the first place, be
#!/usr/local/bin/csi -script
(use posix)
(let ((p (open-input-file "/etc/hosts")))
(read-char p)
(read-char p)
(read-char p)
(set-file-position! p -1 seek/cur))
---
Error: (set-file-position!) invalid negative port position
-1