[ruby-cvs:57206] nobu:r50057 (trunk): marshal.c: register symbol strings first

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Mar 23 02:03:32 JST 2015


nobu	2015-03-23 02:03:31 +0900 (Mon, 23 Mar 2015)

  New Revision: 50057

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

  Log:
    marshal.c: register symbol strings first
    
    * marshal.c (r_symreal): register symbol names as strings first so
      that r_symlink always returns valid names.
      [ruby-core:68587] [Bug #10991]
    * marshal.c (r_ivar, r_object0): now need to intern symbol names.
    * marshal.c (r_object0): compare with symbol names.

  Modified files:
    trunk/ChangeLog
    trunk/marshal.c
    trunk/test/ruby/test_marshal.rb


More information about the ruby-cvs mailing list