summaryrefslogtreecommitdiff
path: root/localeinit.c
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 23:35:43 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2014-05-28 23:35:43 +0000
commit88789fdeed7d8c7186d1f19fff3945f9ca44812c (patch)
tree596920974a3dc2aa54f94108a4bd35e05063ed60 /localeinit.c
parent4bf480b7d5b45b6ba09d25fd35a3f20cea8cffdb (diff)
localeinit.c: revert r46202
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@46221 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'localeinit.c')
-rw-r--r--localeinit.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/localeinit.c b/localeinit.c
index 9b28f03380..51a06c5b1c 100644
--- a/localeinit.c
+++ b/localeinit.c
@@ -65,9 +65,6 @@ Init_enc_set_filesystem_encoding(void)
if (idx < 0) idx = ENCINDEX_ASCII;
#else
idx = rb_enc_to_index(rb_default_external_encoding());
-# if defined __APPLE__
- if (idx == rb_usascii_encindex()) idx = rb_utf8_encindex();
-# endif
#endif
return idx;
}