[ruby-cvs:54265] nobu:r47118 (trunk): win32/file.c: direct conversion

nobu at ruby-lang.org nobu at ruby-lang.org
Sat Aug 9 20:50:13 JST 2014


nobu	2014-08-09 20:50:13 +0900 (Sat, 09 Aug 2014)

  New Revision: 47118

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

  Log:
    win32/file.c: direct conversion
    
    * win32/file.c (user_length_in_path): count user name length in
      path.
    
    * win32/file.c (append_wstr): append WCHAR string to Ruby string
      directly without an intermediate buffer, if possible.
    
    * win32/file.c (rb_file_expand_path_internal): use above functions.

  Modified files:
    trunk/win32/file.c


More information about the ruby-cvs mailing list