mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
e827c334c3
commit
363c90853e
2 changed files with 7 additions and 0 deletions
|
@ -1,3 +1,9 @@
|
|||
Fri Jul 15 15:32:13 2016 NAKAMURA Usaku <usa@ruby-lang.org>
|
||||
|
||||
* 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.
|
||||
|
||||
Fri Jul 15 09:53:48 2016 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* enc/unicode/case-folding.rb, tool/enc-unicode.rb: check if
|
||||
|
|
1
time.c
1
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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue