summaryrefslogtreecommitdiff
path: root/time.c
diff options
context:
space:
mode:
authorusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-15 06:35:37 +0000
committerusa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2016-07-15 06:35:37 +0000
commit363c90853ec4cceb58ef1d2d3192a8c65a35aa13 (patch)
tree28a3756bd598f5a35c0bb4955f543d37efbac059 /time.c
parente827c334c3a03e1ad75792605c021695a5b74fd6 (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.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/time.c b/time.c
index 9f009b5a15..2d1ce38120 100644
--- a/time.c
+++ b/time.c
@@ -2591,6 +2591,7 @@ time_arg(int argc, VALUE *argv, struct vtm *vtm)
}
validate_vtm(vtm);
+ RB_GC_GUARD(vtm->subsecx);
}
static int