mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* ext/date/date_parse.c parse_ddd_cb): fix r32896. RB_GC_GUARD
insertion position was mistaken. [ruby-dev:44337] [Bug #5152] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@32962 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
5339bbe2dc
commit
14b57772ec
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
Sat Aug 13 09:36:19 2011 CHIKANAGA Tomoyuki <nagachika00@gmail.com>
|
||||||
|
|
||||||
|
* 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@tenderlovemaking.com>
|
Sat Aug 13 09:26:24 2011 Aaron Patterson <aaron@tenderlovemaking.com>
|
||||||
|
|
||||||
* ext/psych/lib/psych/core_ext.rb: Make Kernel#y private.
|
* ext/psych/lib/psych/core_ext.rb: Make Kernel#y private.
|
||||||
|
|
|
@ -1323,8 +1323,8 @@ parse_ddd_cb(VALUE m, VALUE hash)
|
||||||
set_hash("yday", INT2FIX(n2i(cs2, 4, 3)));
|
set_hash("yday", INT2FIX(n2i(cs2, 4, 3)));
|
||||||
}
|
}
|
||||||
break;
|
break;
|
||||||
RB_GC_GUARD(s2);
|
|
||||||
}
|
}
|
||||||
|
RB_GC_GUARD(s2);
|
||||||
if (!NIL_P(s3)) {
|
if (!NIL_P(s3)) {
|
||||||
cs3 = RSTRING_PTR(s3);
|
cs3 = RSTRING_PTR(s3);
|
||||||
l3 = RSTRING_LEN(s3);
|
l3 = RSTRING_LEN(s3);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue