[前][次][番号順一覧][スレッド一覧][生データ]

ruby-cvs:22729

From: akr ruby-lang.org
Date: Sat, 16 Feb 2008 03:48:28 +0900 (JST)
Subject: [ruby-cvs:22729] Ruby:r15492 (trunk): * encoding.c (rb_enc_nth): moved to string.c.

akr	2008-02-16 03:48:27 +0900 (Sat, 16 Feb 2008)

  New Revision: 15492

  Modified files:
    trunk/ChangeLog
    trunk/encoding.c
    trunk/string.c

  Log:
    * encoding.c (rb_enc_nth): moved to string.c.
    
    * string.c (rb_enc_nth): moved from string.c.  use search_nonascii
      for ASCII compatible string.
      (str_nth): wrong optimization removed to fix
      "a".force_encoding("EUC-JP").slice!(0,10) returns
      "a\x00\x00\x00\x00\x00\x00\x00\x00\x00"


  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/string.c?r1=15492&r2=15491&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/ChangeLog?r1=15492&r2=15491&diff_format=u
  http://svn.ruby-lang.org/cgi-bin/viewvc.cgi/trunk/encoding.c?r1=15492&r2=15491&diff_format=u


[前][次][番号順一覧][スレッド一覧][生データ]