diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-25 04:06:50 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-07-25 04:06:50 +0000 |
commit | 7ec4a44762e63b75120ecc5154a00828c8f31b01 (patch) | |
tree | 3121babc149fe568f45db08661b1ee56e11d659c /enc | |
parent | dda113e3ff954064f718c73a114bb01361b5d205 (diff) | |
download | ruby-7ec4a44762e63b75120ecc5154a00828c8f31b01.tar.gz |
file.c: split rb_home_dir
* dir.c (dir_s_home): use rb_home_dir_of and rb_default_home_dir.
* file.c (rb_home_dir_of): split from rb_home_dir() for the home
directry of the given user, and the user name is a VALUE, not a bare
pointer. should raise if the user does not exist.
* file.c (rb_default_home_dir): split from rb_home_dir() for the home
directry of the current user.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42160 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'enc')
0 files changed, 0 insertions, 0 deletions