From 8a144fdedc2df7ee87e21ad805fcbcbd18209533 Mon Sep 17 00:00:00 2001 From: naruse Date: Sat, 6 Mar 2010 17:11:28 +0000 Subject: * encoding.c (enc_set_filesystem_encoding): filesystem encoding on Mac OS X is now default external encoding. so Mac OS X is now treated as one of Unix. [ruby-dev:40439] * file.c (file_path_convert): ditto. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- encoding.c | 2 -- 1 file changed, 2 deletions(-) (limited to 'encoding.c') diff --git a/encoding.c b/encoding.c index 6b7c5a5c20..b7258ddbc0 100644 --- a/encoding.c +++ b/encoding.c @@ -1147,8 +1147,6 @@ enc_set_filesystem_encoding(void) snprintf(cp, sizeof cp, "CP%d", AreFileApisANSI() ? GetACP() : GetOEMCP()); idx = rb_enc_find_index(cp); if (idx < 0) idx = rb_ascii8bit_encindex(); -#elif defined __APPLE__ - idx = rb_utf8_encindex(); #else idx = rb_enc_to_index(rb_default_external_encoding()); #endif -- cgit v1.2.3