From: Jeremy Evans Date: 2010-09-15T02:11:59+09:00 Subject: [ruby-core:32384] [Ruby 1.9-Bug#3828][Open] fiddle not working on OpenBSD because DONT_USE_FFI_CLOSURE_ALLOC not defined --mimepart_4c8facda17c31_ef6c2ed752919d Content-Type: text/plain Content-Transfer-Encoding: Quoted-printable Content-Disposition: inline Bug #3828: fiddle not working on OpenBSD because DONT_USE_FFI_CLOSURE_ALL= OC not defined http://redmine.ruby-lang.org/issues/show/3828 Author: Jeremy Evans Status: Open, Priority: Normal Assigned to: Aaron Patterson ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-openbsd4.8] 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 o= n OpenBSD, which the included patch does. With the patch applied, all th= e tests pass (http://pastie.org/1158579.txt). Thanks to Aaron Patterson = for figuring out the fix. ---------------------------------------- http://redmine.ruby-lang.org --mimepart_4c8facda17c31_ef6c2ed752919d Content-Type: application/octet-stream; name=patch-ext_fiddle_closure_c Content-Transfer-Encoding: Base64 Content-Disposition: attachment; filename=patch-ext_fiddle_closure_c LS0tIGV4dC9maWRkbGUvY2xvc3VyZS5jLm9yaWcJVHVlIFNlcCAxNCAwOTo0 NToxOCAyMDEwCisrKyBleHQvZmlkZGxlL2Nsb3N1cmUuYwlUdWUgU2VwIDE0 IDA5OjQ2OjM3IDIwMTAKQEAgLTEwLDcgKzEwLDcgQEAgdHlwZWRlZiBzdHJ1 Y3QgewogICAgIGZmaV90eXBlICoqYXJndjsKIH0gZmlkZGxlX2Nsb3N1cmU7 CiAKLSNpZiBkZWZpbmVkKE1BQ09TWCkgfHwgZGVmaW5lZChfX2xpbnV4KQor I2lmIGRlZmluZWQoTUFDT1NYKSB8fCBkZWZpbmVkKF9fbGludXgpIHx8IGRl ZmluZWQoX19PcGVuQlNEX18pCiAjZGVmaW5lIERPTlRfVVNFX0ZGSV9DTE9T VVJFX0FMTE9DCiAjZW5kaWYKIAo= --mimepart_4c8facda17c31_ef6c2ed752919d--