diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-09 11:50:13 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2014-08-09 11:50:13 +0000 |
commit | 8f0543a364e0f90623eb893294ea9301a3d7826f (patch) | |
tree | a244c8e4cc355d601266d8f929662641972cbf77 /lib | |
parent | b136c5cd48062322fa25e696827dd1133b861373 (diff) | |
download | ruby-8f0543a364e0f90623eb893294ea9301a3d7826f.tar.gz |
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.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@47118 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'lib')
0 files changed, 0 insertions, 0 deletions