diff options
author | Lars Kanis <kanis@comcard.de> | 2019-11-04 11:00:13 +0100 |
---|---|---|
committer | Samuel Williams <samuel.williams@oriontransfer.co.nz> | 2019-11-05 15:31:21 +0900 |
commit | 853d91a04a4d133fc90b35c90570dc1c656a7922 (patch) | |
tree | 546d0d93e1237724e674bcd01b70b58bf87e1bc2 /test/-ext-/string/test_capacity.rb | |
parent | 7c07300491de502cd94e07fcbf9b30f2df31a0d5 (diff) | |
download | ruby-853d91a04a4d133fc90b35c90570dc1c656a7922.tar.gz |
Fix coroutine support on win32
Ruby master branch currently fails on win32 MINGW at this spec:
https://github.com/ruby/spec/blob/master/core/thread/element_set_spec.rb
MINGW makes use of setjmp3() implemented in MSVCRT.DLL.
This function traverses the SEH list up to a terminating pointer 0xFFFFFFFF.
It therefore currently segfaults on NULL.
The SEH linked list must be terminated by 0xFFFFFFFF instead of NULL.
This fixes the issue mentioned here:
https://github.com/ruby/ruby/pull/2279#issuecomment-509508810
Diffstat (limited to 'test/-ext-/string/test_capacity.rb')
0 files changed, 0 insertions, 0 deletions