summaryrefslogtreecommitdiff
path: root/dir.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-10 23:55:05 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2013-08-10 23:55:05 +0000
commit51705124e8ef2cc3af73b4326784e5d9f6cfd773 (patch)
treeeaf53cad300af9b7de805288ecdeacb2da831c52 /dir.c
parenta5c3ca07f8a28f79acd47cd8e34233acff41e304 (diff)
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
Diffstat (limited to 'dir.c')
-rw-r--r--dir.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dir.c b/dir.c
index cf9aeaf..ad6793f 100644
--- a/dir.c
+++ b/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);
}