Project

General

Profile

Actions

Bug #3828

closed

fiddle not working on OpenBSD because DONT_USE_FFI_CLOSURE_ALLOC not defined

Bug #3828: fiddle not working on OpenBSD because DONT_USE_FFI_CLOSURE_ALLOC not defined

Added by jeremyevans0 (Jeremy Evans) about 15 years ago. Updated over 14 years ago.

Status:
Closed
Target version:
-
ruby -v:
ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-openbsd4.8]
Backport:
[ruby-core:32384]

Description

=begin
If you don't define DONT_USE_FFI_CLOSURE_ALLOC then you get crashes such as the ones at http://pastie.org/1158512.txt when running the test suite on OpenBSD. The fix is just to make sure that that constant is defined on OpenBSD, which the included patch does. With the patch applied, all the tests pass (http://pastie.org/1158579.txt). Thanks to Aaron Patterson for figuring out the fix.
=end


Files

patch-ext_fiddle_closure_c (335 Bytes) patch-ext_fiddle_closure_c jeremyevans0 (Jeremy Evans), 09/15/2010 02:11 AM
Actions

Also available in: PDF Atom