From: Bill Kelly Date: 2005-09-05T10:11:24+09:00 Subject: Re: Nonblocking and/or win32 (was: Re: [ANN] EventLoop 0.0.20050825.1600) From: "Ara.T.Howard" > [ahoward@localhost ~]$ strace ruby a.rb 2>&1 > ... > ... > ... > read(3 > > > and, from io.c: [...] > ch = getc(fptr->f); // look here !!! [...] > anyhow... it sure makes sense that it'd block though... Thanks, Ara ! Guess I would have expected it just to do the if (feof(fptr->f)) return Qtrue; part... I've changed my program to infer EOF when gets() returns nil. I no longer call #eof? because although it admittedly looks pretty darned thorough, it's no good for me to block. Thanks again, Regards, Bill