>>>>> "S" == Steven Grady <grady / xcf.berkeley.edu> writes:

S> I did look briefly at the Ruby source, and I could not easily figure out
S> a patch to fix the behavior, unfortunately...

 Just add a flag (FMODE_PIPE, or ???), and test this flag in rb_io_eof()

 no ?


Guy Decoux