darcs patch: Fix freeHaskellFunctionPtr for Darwin/i386

Aaron Tomb atomb at soe.ucsc.edu
Tue Oct 30 12:12:25 EDT 2007


This patch fixes the preprocessor directives surrounding the Darwin/ 
i386 portion of freeHaskellFunctionPtr, which had used the wrong  
symbol (x86_HOST_ARCH instead of i386_HOST_ARCH), causing occasional  
FFI problems. This patch is against the 6.8 branch, but will probably  
apply to HEAD, as well.

The problem also exists in 6.6, and I'd be happy to prepare a patch  
against it, too, if there are any plans for another point release.

Aaron

-------------- next part --------------
A non-text attachment was scrubbed...
Name: freeHaskellFunctionPtr-i386darwin.patch
Type: application/octet-stream
Size: 56784 bytes
Desc: not available
Url : http://www.haskell.org/pipermail/cvs-ghc/attachments/20071030/33ca94d8/freeHaskellFunctionPtr-i386darwin-0001.obj


More information about the Cvs-ghc mailing list