mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* file.c (rb_home_dir): set filesystem encoding.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28040 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
84abef0fc0
commit
97c175fa19
2 changed files with 5 additions and 0 deletions
|
@ -1,3 +1,7 @@
|
|||
Thu May 27 23:38:31 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* file.c (rb_home_dir): set filesystem encoding.
|
||||
|
||||
Thu May 27 23:29:18 2010 NARUSE, Yui <naruse@ruby-lang.org>
|
||||
|
||||
* file.c (file_expand_path): set encoding as the same of fname
|
||||
|
|
1
file.c
1
file.c
|
@ -2828,6 +2828,7 @@ rb_home_dir(const char *user, VALUE result)
|
|||
}
|
||||
}
|
||||
#endif
|
||||
rb_enc_associate_index(result, rb_filesystem_encindex());
|
||||
return result;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue