diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-15 06:35:37 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2016-07-15 06:35:37 +0000 |
commit | 363c90853ec4cceb58ef1d2d3192a8c65a35aa13 (patch) | |
tree | 28a3756bd598f5a35c0bb4955f543d37efbac059 /time.c | |
parent | e827c334c3a03e1ad75792605c021695a5b74fd6 (diff) |
* time.c (time_arg): it seems that this function sometimes causes SEGV
on mswin CI, then force to prevent `vtm->subsecx` from GC. this is
experimental.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@55688 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'time.c')
-rw-r--r-- | time.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -2591,6 +2591,7 @@ time_arg(int argc, VALUE *argv, struct vtm *vtm) } validate_vtm(vtm); + RB_GC_GUARD(vtm->subsecx); } static int |