From: "Ara.T.Howard" Date: 2005-09-17T07:34:16+09:00 Subject: Re: [RCR] IO#clearerr On Sat, 17 Sep 2005, Tanaka Akira wrote: > In article , > "Ara.T.Howard" writes: > >> we need it. any reason why it couldn't shouldn't be done? > > ruby 1.8.3 calls clearerr before getc automatically because stdio has > non-portability about that. > > ruby 1.9 has no error and EOF flag to clear because it doesn't use > stdio. o.k. - so that should let me read past eof (multiple clients sending data down pipe one at the time) but i still can't write past EOF. i want to keep some output pipes open and simply send EOF down them (close, clearerr) to indicate no more data. any thought on that? btw. ever looked at sfio? cheers. -a -- =============================================================================== | email :: ara [dot] t [dot] howard [at] noaa [dot] gov | phone :: 303.497.6469 | Your life dwells amoung the causes of death | Like a lamp standing in a strong breeze. --Nagarjuna ===============================================================================