ruby-changes:44069
From: usa <ko1@a...>
Date: Tue, 13 Sep 2016 00:16:15 +0900 (JST)
Subject: [ruby-changes:44069] usa:r56142 (trunk): * time.c (time_arg): guard for mswin64 CI.
usa 2016-09-13 00:16:09 +0900 (Tue, 13 Sep 2016) New Revision: 56142 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=56142 Log: * time.c (time_arg): guard for mswin64 CI. Modified files: trunk/time.c Index: time.c =================================================================== --- time.c (revision 56141) +++ time.c (revision 56142) @@ -2453,7 +2453,6 @@ obj2subsecx(VALUE obj, VALUE *subsecx) https://github.com/ruby/ruby/blob/trunk/time.c#L2453 else { divmodv(num_exact(obj), INT2FIX(1), &obj, &subsec); *subsecx = w2v(rb_time_magnify(v2w(subsec))); - RB_GC_GUARD(subsec); } return obj2ubits(obj, 6); /* vtm->sec */ } @@ -2592,6 +2591,7 @@ time_arg(int argc, VALUE *argv, struct v https://github.com/ruby/ruby/blob/trunk/time.c#L2591 } validate_vtm(vtm); + RB_GC_GUARD(vtm->subsecx); } static int -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/