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:
parent
a5c3ca07f8
commit
51705124e8
1 changed files with 1 additions and 1 deletions
2
dir.c
2
dir.c
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue