[前][次][番号順一覧][スレッド一覧]

ruby-changes:34140

From: nobu <ko1@a...>
Date: Thu, 29 May 2014 08:35:48 +0900 (JST)
Subject: [ruby-changes:34140] nobu:r46221 (trunk): localeinit.c: revert r46202

nobu	2014-05-29 08:35:43 +0900 (Thu, 29 May 2014)

  New Revision: 46221

  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?revision=46221&view=revision

  Log:
    localeinit.c: revert r46202

  Modified files:
    trunk/localeinit.c
Index: localeinit.c
===================================================================
--- localeinit.c	(revision 46220)
+++ localeinit.c	(revision 46221)
@@ -65,9 +65,6 @@ Init_enc_set_filesystem_encoding(void) https://github.com/ruby/ruby/blob/trunk/localeinit.c#L65
     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;
 }

--
ML: ruby-changes@q...
Info: http://www.atdot.net/~ko1/quickml/

[前][次][番号順一覧][スレッド一覧]