[ruby-cvs:58889] nobu:r51738 (trunk): file.c: use filesystem encoding

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Sep 2 16:58:26 JST 2015


nobu	2015-09-02 16:58:24 +0900 (Wed, 02 Sep 2015)

  New Revision: 51738

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

  Log:
    file.c: use filesystem encoding
    
    * file.c (rb_realpath_internal): use filesystem encoding if the
      argument is in ASCII encodings.
    * win32/file.c (rb_readlink): needs the result encoding.

  Modified files:
    trunk/ChangeLog
    trunk/file.c
    trunk/test/ruby/test_file.rb
    trunk/win32/file.c


More information about the ruby-cvs mailing list