scsh-users
[Top] [All Lists]

Bug in %read-delimited! ?

To: scsh-bugs@martigny.ai.mit.edu
Subject: Bug in %read-delimited! ?
From: "Brian F. Dennis" <xjam@cs.berkeley.edu>
Date: Mon, 07 Oct 1996 13:30:54 -0700
Reply-to: xjam@cs.berkeley.edu
There's a clause in %read-delimited! that reads:

...
                    ((>= i end)                 ; Filled the buffer.
                     (if gobble? (read-char port))
                     (values #f (- i start)))
...

I don't believe you actually want to do the gobble in that clause because
your only at the end of the buffer. 

This bug means that the replacement read-line in scsh misses the 80th
character of each line if there is one.
                                                        --Bri

<Prev in Thread] Current Thread [Next in Thread>
  • Bug in %read-delimited! ?, Brian F. Dennis <=