[ruby-cvs:56205] nobu:r49055 (trunk): thread.c: fix dynamic symbol keys

nobu at ruby-lang.org nobu at ruby-lang.org
Mon Dec 29 11:18:21 JST 2014


nobu	2014-12-29 11:18:20 +0900 (Mon, 29 Dec 2014)

  New Revision: 49055

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

  Log:
    thread.c: fix dynamic symbol keys
    
    * thread.c (rb_thread_variable_get): fix dynamic symbol keys.
      rb_check_id() returns non-zero only for static symbols, whereas
      thread local variable keys can be dynamic symbols.
      [ruby-core:67185] [Bug #10667]

  Modified files:
    trunk/ChangeLog
    trunk/test/-ext-/symbol/test_inadvertent_creation.rb
    trunk/test/ruby/test_thread.rb
    trunk/thread.c


More information about the ruby-cvs mailing list