diff options
author | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-06 17:11:28 +0000 |
---|---|---|
committer | naruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-03-06 17:11:28 +0000 |
commit | 8a144fdedc2df7ee87e21ad805fcbcbd18209533 (patch) | |
tree | 17dedbc3d681f3eb19c0bcda6616cc4274e7cc94 /encoding.c | |
parent | f6a23214da3a22284707a5a6eaa52c3b6e7d60aa (diff) | |
download | ruby-8a144fdedc2df7ee87e21ad805fcbcbd18209533.tar.gz |
* 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
Diffstat (limited to 'encoding.c')
-rw-r--r-- | encoding.c | 2 |
1 files changed, 0 insertions, 2 deletions
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 |