[GHC] #14188: On windows, trace prints out lines without proper line endings

GHC ghc-devs at haskell.org
Sun Sep 24 20:20:01 UTC 2017


#14188: On windows, trace prints out lines without proper line endings
---------------------------------+----------------------------------------
        Reporter:  simonpj       |                Owner:  (none)
            Type:  bug           |               Status:  patch
        Priority:  normal        |            Milestone:  8.4.1
       Component:  Compiler      |              Version:  8.2.1
      Resolution:                |             Keywords:
Operating System:  Windows       |         Architecture:  Unknown/Multiple
 Type of failure:  None/Unknown  |            Test Case:
      Blocked By:                |             Blocking:
 Related Tickets:                |  Differential Rev(s):  Phab:D4018
       Wiki Page:                |
---------------------------------+----------------------------------------
Changes (by Phyx-):

 * status:  new => patch
 * differential:   => Phab:D4018
 * milestone:   => 8.4.1


Comment:

 Something seems to be setting `stderr` in binary mode when `traceIO` is
 called. stuff written via the Haskell I/O manager seems to correct the
 mode before printing. So I'm doing the same in the C code now.

-- 
Ticket URL: <http://ghc.haskell.org/trac/ghc/ticket/14188#comment:2>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler


More information about the ghc-tickets mailing list