[GHC] #11009: Errors reading stdin on Windows

GHC ghc-devs at haskell.org
Sat Oct 31 07:21:51 UTC 2015


#11009: Errors reading stdin on Windows
-------------------------------------+-------------------------------------
        Reporter:  ncreep            |                Owner:
            Type:  bug               |               Status:  new
        Priority:  normal            |            Milestone:
       Component:  libraries/base    |              Version:  7.10.2
      Resolution:                    |             Keywords:
Operating System:  Windows           |         Architecture:  x86_64
 Type of failure:  Incorrect result  |  (amd64)
  at runtime                         |            Test Case:
      Blocked By:                    |             Blocking:
 Related Tickets:                    |  Differential Rev(s):
       Wiki Page:                    |
-------------------------------------+-------------------------------------

Comment (by Phyx-):

 Hi,

 Thanks for the report.

 I don't seem to be able to reproduce this error on any of my `GHC`
 versions (`7.8.x`, `7.10.x` or `HEAD`)

 {{{
 GHCi, version 7.11.20151029: http://www.haskell.org/ghc/  :? for help
 [1 of 1] Compiling Main             ( test.hs, interpreted )
 Ok, modules loaded: Main.
 *Main> readStdin (32 * 1024)
 a
 3
 *Main> readStdin (320 * 1024)
 a
 3
 }}}

 I assume you're running this in `GHCi` as well?

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


More information about the ghc-tickets mailing list