diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-10 23:55:05 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-08-10 23:55:05 +0000 |
commit | 51705124e8ef2cc3af73b4326784e5d9f6cfd773 (patch) | |
tree | eaf53cad300af9b7de805288ecdeacb2da831c52 | |
parent | a5c3ca07f8a28f79acd47cd8e34233acff41e304 (diff) | |
download | ruby-51705124e8ef2cc3af73b4326784e5d9f6cfd773.tar.gz |
dir.c: normalization
* dir.c (glob_helper): re-enalbe normalization.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@42501 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | dir.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -1418,7 +1418,7 @@ glob_helper( name = dp->d_name; namlen = NAMLEN(dp); # if HAVE_HFS - if (0&&hfs_p && has_nonascii(name, namlen)) { + if (hfs_p && has_nonascii(name, namlen)) { if (!NIL_P(utf8str = rb_str_normalize_ospath(name, namlen))) { RSTRING_GETMEM(utf8str, name, namlen); } |