chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] [PATCH] Fix for #568


From: Peter Bex
Subject: Re: [Chicken-hackers] [PATCH] Fix for #568
Date: Sun, 3 Feb 2013 21:05:43 +0100
User-agent: Mutt/1.4.2.3i

On Sun, Feb 03, 2013 at 12:00:42PM -0800, Kon Lovett wrote:
> On Feb 3, 2013, at 11:50 AM, Peter Bex <address@hidden> wrote:
> > That reminds me: in posixunix.scm the read-line code sets some slot
> > number 5.  I was unable to figure out what this was for.  It seems to
> > update it to the current position in the buffer while it's scanning and
> > then resets it to 0 at the end, but this isn't used anywhere I could see.
> 
> ;; Port (wordblock)
> 
> ; Port layout:
> ;
> ; 0     FP (special - FILE *)
> ; 1     input/output (bool)
> ; 2     class (vector, see Port-class)
> ; 3     name (string)
> ; 4     row (fixnum)
> ; 5     col (fixnum)
> ; 6     EOF (bool)
> ; 7     type (symbol)
> ; 8     closed (bool)
> ; 9     data
> ; 10-15        reserved, port class specific

How silly of me!  Thanks, Kon.

Now the million dollar question is why other ports don't seem to be
using this anymore.

Cheers,
Peter
-- 
http://sjamaan.ath.cx



reply via email to

[Prev in Thread] Current Thread [Next in Thread]