From: Damien C. <dam...@gm...> - 2008-02-22 07:59:54
|
Hi, I find the close function behavior quite strange. The reading functions are still able to read in a closes stream. I'm not sure if it's desirable: * (open ".bashrc" :direction :input) #<SB-SYS:FD-STREAM for "file /home/cassou/.bashrc" {A6ADFC9}> * (defparameter *s* *) *S* * (read-line *s*) "# -*- Mode: Sh -*-" * (read-line *s*) "" * (read-line *s*) "# Files you make look like rw-r--r--" * (open-stream-p *s*) T * (close *s*) T * (open-stream-p *s*) NIL * (read-line *s*) "umask 022" * (read-line *s*) "" * (close *s*) T * (read-line *s*) "# Don't make useless coredump files. If you want a coredump," -- Damien Cassou |
From: Nikodemus S. <nik...@ra...> - 2008-02-22 10:42:15
|
On 2/22/08, Damien Cassou <dam...@gm...> wrote: > I find the close function behavior quite strange. The reading > functions are still able to read in a closes stream. I'm not sure if > it's desirable: It is not, this is a bug. Thanks for the report! Cheers, -- Nikodemus |
From: Nikodemus S. <nik...@ra...> - 2008-08-05 10:38:54
|
On Fri, Feb 22, 2008 at 1:42 PM, Nikodemus Siivola <nik...@ra...> wrote: > On 2/22/08, Damien Cassou <dam...@gm...> wrote: > >> I find the close function behavior quite strange. The reading >> functions are still able to read in a closes stream. I'm not sure if >> it's desirable: > > It is not, this is a bug. Thanks for the report! Fixed in 1.0.19.22. > Cheers, > > -- Nikodemus |