mirror of
https://github.com/ruby/ruby.git
synced 2025-09-15 08:33:58 +02:00
file.c: normalize Form C
* file.c (rb_str_normalize_ospath): normalize to Normalization Form C using CFString. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42457 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
f9cbf0e89f
commit
c04f402f0f
4 changed files with 31 additions and 6 deletions
|
@ -237,6 +237,8 @@ class TestProcess < Test::Unit::TestCase
|
|||
MANDATORY_ENVS << 'LD_PRELOAD'
|
||||
when /mswin|mingw/
|
||||
MANDATORY_ENVS.concat(%w[HOME USER TMPDIR])
|
||||
when /darwin/
|
||||
MANDATORY_ENVS.concat(ENV.keys.grep(/\A__CF_/))
|
||||
end
|
||||
if e = RbConfig::CONFIG['LIBPATHENV']
|
||||
MANDATORY_ENVS << e
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue