Thanks Marcin!
I just wanted to know if this was a bug in CMUCL or a feature somewhere :) On #lisp I was told that the same happened with C code under solaris (i'm on FreeBSD FWIW) so I guessed it might just be a feature, but it was suggested that I report the behavior here. :) I guess I will work around this by writing a nugget of information to the FIFO before opening it to ensure that there is input. :( Thanks again!, Jim James E. Prewett Systems Team Leader 505.277.8210 Designated Security Officer [EMAIL PROTECTED] [EMAIL PROTECTED] HPC Systems Engineer III @ [EMAIL PROTECTED] OpenPGP key: pub 1024D/31816D93 On Thu, 13 Jan 2005, Marcin Tustin wrote: > On Thu, Jan 13, 2005 at 01:16:43PM -0700, Jim Prewett wrote: >> >> >> All, >> >> I'm trying to make a list of open files containing several files, both >> FIFOs and standard text files. >> >> When I try to open a FIFO that has no input available, CMUCL hangs (19A). >> >> Can someone tell me if this is a bug or a feature? > > Welcome to Unix country. This is a feature of your operating system. > >> Here is my test code: >> >> ;; there are 2 files >> ;; foo is a fifo created with mkfifo >> ;; bar is a standard (empty) text file >> (let ((fifo-filename "foo") >> (std-filename "bar")) >> (list >> (open std-filename) ;; this open hangs if no input on the fifo >> (open fifo-filename)) ;; this never(?) hangs >> >> Thanks, >> Jim >> >> James E. Prewett >> Systems Team Leader 505.277.8210 >> Designated Security Officer [EMAIL PROTECTED] [EMAIL PROTECTED] >> HPC Systems Engineer III @ [EMAIL PROTECTED] OpenPGP key: pub >> 1024D/31816D93 >> >> >
