Project

General

Profile

« Previous | Next » 

Revision 62b07ab1

Added by yugui (Yuki Sonoda) almost 17 years ago

merges r21709, r21710 from trunk into ruby_1_9_1.

  • include/ruby/io.h (FMODE_EOF): EOF flag on TTY.
  • io.c (io_set_eof): sets EOF flag for TTY.
  • io.c (io_seek): clears EOF flag.
  • io.c (io_fillbuf): returns EOF if already met EOF. [ruby-dev:37798]
  • io.c (io_fillbuf, io_fread, io_getpartial): sets EOF.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_9_1@21816 b2dd03c8-39d4-4d8f-98ff-823fe69b080e