[commit: ghc] ghc-7.10: rts: Re-export mingw printf/scanf variants (bbbf79b)

git at git.haskell.org git at git.haskell.org
Thu Nov 26 00:00:15 UTC 2015


Repository : ssh://git@git.haskell.org/ghc

On branch  : ghc-7.10
Link       : http://ghc.haskell.org/trac/ghc/changeset/bbbf79b91747dbb5ab284f075927d1e1e27aba95/ghc

>---------------------------------------------------------------

commit bbbf79b91747dbb5ab284f075927d1e1e27aba95
Author: Luke Iannini <lukexi at me.com>
Date:   Thu Nov 26 00:39:54 2015 +0100

    rts: Re-export mingw printf/scanf variants
    
    This is a workaround for the regression documented in #10726 comments 31
    and after. We'll hopefully have a better fix for master.


>---------------------------------------------------------------

bbbf79b91747dbb5ab284f075927d1e1e27aba95
 rts/Linker.c | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/rts/Linker.c b/rts/Linker.c
index 68f1f59..a939e35 100644
--- a/rts/Linker.c
+++ b/rts/Linker.c
@@ -525,6 +525,11 @@ typedef struct _RtsSymbolVal {
       SymI_HasProto(isalnum)                             \
       SymI_HasProto(isascii)                             \
       RTS___MINGW_VFPRINTF_SYM                           \
+      SymI_HasProto(__mingw_vsscanf)                     \
+      SymI_HasProto(__mingw_vprintf)                     \
+      SymI_HasProto(__mingw_vsprintf)                    \
+      SymI_HasProto(__ms_vsnprintf)                      \
+      SymI_HasProto(strdup)                              \
       SymI_HasProto(strcmp)                              \
       SymI_HasProto(memmove)                             \
       SymI_HasProto(realloc)                             \



More information about the ghc-commits mailing list