[ruby-cvs:61260] nobu:r54099 (trunk): ruby.c: reduce fstat

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 14 16:03:01 JST 2016


nobu	2016-03-14 16:03:01 +0900 (Mon, 14 Mar 2016)

  New Revision: 54099

  https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=54099

  Log:
    ruby.c: reduce fstat
    
    * file.c (ruby_is_fd_loadable): now return -1 if loadable but
      may block.
    * ruby.c (open_load_file): wait to read by the result of
      ruby_is_fd_loadable, without fstat.

  Modified files:
    trunk/ChangeLog
    trunk/file.c
    trunk/ruby.c


More information about the ruby-cvs mailing list