зеркало из https://github.com/github/ruby.git
* 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:
Родитель
e827c334c3
Коммит
363c90853e
|
@ -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
|
||||
|
|
Загрузка…
Ссылка в новой задаче