[ruby-cvs:71846] nobu:r64753 (trunk): encoding.c: check external encoding

nobu at ruby-lang.org nobu at ruby-lang.org
Sun Sep 16 01:27:06 JST 2018


nobu	2018-09-16 01:27:06 +0900 (Sun, 16 Sep 2018)

  New Revision: 64753

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

  Log:
    encoding.c: check external encoding
    
    * encoding.c (rb_enc_get_index): external encoding may not be Data
      object.  [ruby-core:89016] [Bug #15122]

  Modified files:
    trunk/encoding.c
    trunk/test/ruby/test_io.rb


More information about the ruby-cvs mailing list