ruby-changes:20913
From: nagachika <ko1@a...>
Date: Sat, 13 Aug 2011 09:45:54 +0900 (JST)
Subject: [ruby-changes:20913] nagachika:r32962 (trunk): * ext/date/date_parse.c parse_ddd_cb): fix r32896. RB_GC_GUARD
nagachika 2011-08-13 09:40:06 +0900 (Sat, 13 Aug 2011) New Revision: 32962 http://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=rev&revision=32962 Log: * ext/date/date_parse.c parse_ddd_cb): fix r32896. RB_GC_GUARD insertion position was mistaken. [ruby-dev:44337] [Bug #5152] Modified files: trunk/ChangeLog trunk/ext/date/date_parse.c Index: ChangeLog =================================================================== --- ChangeLog (revision 32961) +++ ChangeLog (revision 32962) @@ -1,3 +1,8 @@ +Sat Aug 13 09:36:19 2011 CHIKANAGA Tomoyuki <nagachika00@g...> + + * ext/date/date_parse.c parse_ddd_cb): fix r32896. RB_GC_GUARD + insertion position was mistaken. [ruby-dev:44337] [Bug #5152] + Sat Aug 13 09:26:24 2011 Aaron Patterson <aaron@t...> * ext/psych/lib/psych/core_ext.rb: Make Kernel#y private. Index: ext/date/date_parse.c =================================================================== --- ext/date/date_parse.c (revision 32961) +++ ext/date/date_parse.c (revision 32962) @@ -1323,8 +1323,8 @@ set_hash("yday", INT2FIX(n2i(cs2, 4, 3))); } break; - RB_GC_GUARD(s2); } + RB_GC_GUARD(s2); if (!NIL_P(s3)) { cs3 = RSTRING_PTR(s3); l3 = RSTRING_LEN(s3); -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/