aboutsummaryrefslogtreecommitdiffstats
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
commitcbe95e889a5fa43710350ceee3635f507f155f25 (patch)
tree28a3756bd598f5a35c0bb4955f543d37efbac059 /time.c
parentd43074aeca1c79e2f414b07d2e16b24f43c21344 (diff)
downloadruby-cbe95e889a5fa43710350ceee3635f507f155f25.tar.gz
* 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