[ruby-cvs:69772] nobu:r62606 (trunk): file.c: get rid of useless conversion

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Feb 28 14:17:01 JST 2018


nobu	2018-02-28 14:17:01 +0900 (Wed, 28 Feb 2018)

  New Revision: 62606

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

  Log:
    file.c: get rid of useless conversion
    
    * file.c (rb_file_s_stat): File.stat does not accept an IO
      object as trying conversion to path name string first.  skip
      conversion to IO and try stat(2) only.

  Modified files:
    trunk/file.c


More information about the ruby-cvs mailing list