[Git][ghc/ghc][wip/T17949] T17949 reduce diff
Daneel S. Yaitskov
gitlab at gitlab.haskell.org
Sat May 23 01:47:14 UTC 2020
Daneel S. Yaitskov pushed to branch wip/T17949 at Glasgow Haskell Compiler / GHC
Commits:
af482de7 by Daneel Yaitskov at 2020-05-22T18:47:02-07:00
T17949 reduce diff
- - - - -
1 changed file:
- libraries/base/Debug/Trace.hs
Changes:
=====================================
libraries/base/Debug/Trace.hs
=====================================
@@ -95,7 +95,7 @@ whenEventlog logAction = do
--
-- @since 4.5.0.0
traceIO :: String -> IO ()
-traceIO msg =
+traceIO msg = do
withCString "%s\n" $ \cfmt -> do
-- NB: debugBelch can't deal with null bytes, so filter them
-- out so we don't accidentally truncate the message. See #9395
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/af482de7842ede1300ad661da8e658d0ef1d4eec
--
View it on GitLab: https://gitlab.haskell.org/ghc/ghc/-/commit/af482de7842ede1300ad661da8e658d0ef1d4eec
You're receiving this email because of your account on gitlab.haskell.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.haskell.org/pipermail/ghc-commits/attachments/20200522/31542acf/attachment.html>
More information about the ghc-commits
mailing list