Re: ghc-devs Digest, Vol 116, Issue 39

Hi,
`Implemented getPageFaults for win32` breaks the build. The patch needs
some more stuff added. I'll re-submit it soon-ish after I get it to build
correctly.
Regards.
On Mon, Apr 22, 2013 at 8:00 PM,
Send ghc-devs mailing list submissions to ghc-devs@haskell.org
To subscribe or unsubscribe via the World Wide Web, visit http://www.haskell.org/mailman/listinfo/ghc-devs or, via email, send a message with subject or body 'help' to ghc-devs-request@haskell.org
You can reach the person managing the list at ghc-devs-owner@haskell.org
When replying, please edit your Subject line so it is more specific than "Re: Contents of ghc-devs digest..."
Today's Topics:
1. Re: [commit: ghc] master: Use ffi_prep_closure_loc rather than ffi_prep_closure (310735e) (Sergei Trofimovich) 2. Re: [commit: ghc] master: Use ffi_prep_closure_loc rather than ffi_prep_closure (310735e) (Ian Lynagh) 3. Re: Fwd: Implemented getPageFaults for win32 (Edward Z. Yang)
----------------------------------------------------------------------
Message: 1 Date: Sun, 21 Apr 2013 21:34:31 +0300 From: Sergei Trofimovich
Subject: Re: [commit: ghc] master: Use ffi_prep_closure_loc rather than ffi_prep_closure (310735e) To: ghc-devs@haskell.org Cc: ghc-commits@haskell.org Message-ID: <20130421213431.1b0ecc6c@sf> Content-Type: text/plain; charset="us-ascii" commit 310735e7adce0145c653386c21686b4a1b96aea9 Author: Ian Lynagh
Date: Sun Apr 21 16:03:40 2013 +0100 Use ffi_prep_closure_loc rather than ffi_prep_closure
The latter is deprecated. Part of #7718.
---------------------------------------------------------------
rts/Adjustor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/rts/Adjustor.c b/rts/Adjustor.c index fbf95df..e4d6e8c 100644 --- a/rts/Adjustor.c +++ b/rts/Adjustor.c @@ -131,7 +131,7 @@ createAdjustor (int cconv, barf("createAdjustor: failed to allocate memory"); }
- r = ffi_prep_closure(cl, cif, (void*)wptr, hptr/*userdata*/); + r = ffi_prep_closure_loc(cl, cif, (void*)wptr, hptr/*userdata*/, code); if (r != FFI_OK) barf("ffi_prep_closure failed: %d", r);
The barf() text (/ffi_prep_closure/ffi_prep_closure_loc/) might be adjusted as well.
return (void*)code;
--
Sergei
participants (1)
-
Kyle Van Berendonck