[commit: haskeline] encoding: Fix error in IConv.hsc signature (8f3e141)
Max Bolingbroke
batterseapower at hotmail.com
Mon Apr 11 18:34:36 CEST 2011
Repository : ssh://darcs.haskell.org//srv/darcs/packages/haskeline
On branch : encoding
http://hackage.haskell.org/trac/ghc/changeset/8f3e14129538084e6cf164017e2173d5a0b0aefd
>---------------------------------------------------------------
commit 8f3e14129538084e6cf164017e2173d5a0b0aefd
Author: Max Bolingbroke <batterseapower at hotmail.com>
Date: Mon Apr 11 17:28:52 2011 +0100
Fix error in IConv.hsc signature
>---------------------------------------------------------------
System/Console/Haskeline/Backend/IConv.hsc | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/System/Console/Haskeline/Backend/IConv.hsc b/System/Console/Haskeline/Backend/IConv.hsc
index ccc572b..a217ac4 100644
--- a/System/Console/Haskeline/Backend/IConv.hsc
+++ b/System/Console/Haskeline/Backend/IConv.hsc
@@ -73,7 +73,7 @@ setLocale oldLocale = (maybeWith withCAString) oldLocale $ \loc_p -> do
type NLItem = #type nl_item
-foreign import ccall nl_langinfo :: NLItem -> IO CAString
+foreign import ccall nl_langinfo :: NLItem -> IO CString
getCodeset :: IO String
getCodeset = do
More information about the Cvs-libraries
mailing list