1
0
Fork 0
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:
naruse 2010-05-27 14:47:29 +00:00
parent 84abef0fc0
commit 97c175fa19
2 changed files with 5 additions and 0 deletions

View file

@ -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
View file

@ -2828,6 +2828,7 @@ rb_home_dir(const char *user, VALUE result)
}
}
#endif
rb_enc_associate_index(result, rb_filesystem_encindex());
return result;
}