[ruby-cvs:56712] nobu:r49562 (trunk): generator.c: fix infinite recursion

nobu at ruby-lang.org nobu at ruby-lang.org
Wed Feb 11 11:01:37 JST 2015


nobu	2015-02-11 11:01:36 +0900 (Wed, 11 Feb 2015)

  New Revision: 49562

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

  Log:
    generator.c: fix infinite recursion
    
    * ext/json/generator/generator.c (generate_json): get rid of
      unnecessary recursive calls which can cause infinite recursion.
      T_STRING may not have rb_cString.

  Modified files:
    trunk/ChangeLog
    trunk/ext/json/generator/generator.c
    trunk/test/json/test_json_generate.rb


More information about the ruby-cvs mailing list