diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-22 10:43:42 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-11-22 10:43:42 +0000 |
commit | 4e1ee66580ffbbfd420df2137e03c8be34f0962a (patch) | |
tree | b9617db0a22c8039b1724daae23cc98d56717edc /spec | |
parent | 0bd8193eba5139812c18f779ba5831b3c7df01d7 (diff) | |
download | ruby-4e1ee66580ffbbfd420df2137e03c8be34f0962a.tar.gz |
Use File.expand_path("~username") instead of ENV["HOME"]
File.expand_path("~username") uses getpwnam() independently from
Dir.home. [Bug #15324]
From: Chris Seaton <chris@chrisseaton.com>
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65926 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'spec')
0 files changed, 0 insertions, 0 deletions