Search found 6 matches

by deftsp
Fri Sep 05, 2008 8:04 pm
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

Re: with-open-file problem of sbcl

I would post it to the SBCL developer's mailing list and see what they have to say. Have you posted it to sbcl mailing list. I haven't see at gmane.lisp.steel-bank.devel. deftsp: findinglisp meant "If I were you I would post...", i.e. he meant that you should post to the SBCL developers' ...
by deftsp
Tue Sep 02, 2008 5:29 pm
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

Re: with-open-file problem of sbcl

Thank you very very much! I think this is a bug, and a known issue for the sbcl people. In fact, I have a recollection of reading something about this and sbcl-devel a few months ago. I have searched throught the archives and found this, http://sourceforge.net/mailarchive/message.php?msg_id=4865A852...
by deftsp
Tue Sep 02, 2008 3:48 am
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

Re: with-open-file problem of sbcl

Exolon wrote:Does it happen with other weird 'virtual' mounted files - i.e. in /dev, /proc?
I test"/proc/stat" for read read-line with sbcl 1.0.20, it works.

"/sys/class/net/eth0/statistics/rx_bytes" still hang. :?
by deftsp
Fri Aug 29, 2008 7:10 am
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

Re: with-open-file problem of sbcl

findinglisp wrote:I would post it to the SBCL developer's mailing list and see what they have to say.
Have you posted it to sbcl mailing list. I haven't see at gmane.lisp.steel-bank.devel.
by deftsp
Wed Aug 27, 2008 7:05 pm
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

Re: with-open-file problem of sbcl

Hmm... good question. When I try it, SBCL just hangs. I can interrupt it with C-c in a term window, but it never returns. A simple "cat /sys/class/net/eth0/statistics/rx_bytes" works just fine. This is with SBCL 1.0.17 on Fedora 8 (2.6.25.11 kernel). SBCL 1.0.18 1.0.19 on Debian sid (2.6....
by deftsp
Wed Aug 27, 2008 3:41 pm
Forum: Common Lisp
Topic: with-open-file problem of sbcl
Replies: 12
Views: 23187

with-open-file problem of sbcl

Code: Select all

(with-open-file (in  #P"/sys/class/net/eth0/statistics/rx_bytes" :direction :input)
  (read in))
This code can work with clisp but sbcl fail.

I copy file sys/class/net/eth0/statistics/rx_bytes to my home folder, and with-open-file works.

I don't know why? Is this sbcl's bug?