1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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
This commit is contained in:
nobu 2013-08-10 23:55:05 +00:00
parent a5c3ca07f8
commit 51705124e8

2
dir.c
View file

@ -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);
}