[GHC] #12869: getChar doesn't work on a new Windows build

#12869: getChar doesn't work on a new Windows build -------------------------------------+------------------------------------- Reporter: Darwin226 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime | Version: 7.10.3 System | 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: -------------------------------------+------------------------------------- Last night I updated my PC to the 14965 Windows insider build. Today I notice that `getLine` no longer terminates (pressing enter just goes to a new line), but I'm suspecting that the root cause it that `getChar` returns `'\NUL'` no mather what is input. I've tried this both GHCi and in a compiled program. This is only broken if I set my codepage to 65001 (UTF-8). If I set it to something like 850 it works as it should. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12869 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12869: getChar doesn't work on a new Windows build -------------------------------------+------------------------------------- Reporter: Darwin226 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.3 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. Due you happen to have a way to reproduce this issue without being on the insider build? -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12869#comment:1 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12869: getChar doesn't work on a new Windows build -------------------------------------+------------------------------------- Reporter: Darwin226 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.3 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 Darwin226): Unfortunately no. I can confirm it works on a non-insider build and I have two machines on that insider build on which in fails. Sorry. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12869#comment:2 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler

#12869: getChar doesn't work on a new Windows build -------------------------------------+------------------------------------- Reporter: Darwin226 | Owner: Type: bug | Status: new Priority: normal | Milestone: Component: Runtime System | Version: 7.10.3 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-): Well, thanks for the heads up anyway. I'll try to see if I can find a changelog for that build. -- Ticket URL: http://ghc.haskell.org/trac/ghc/ticket/12869#comment:3 GHC http://www.haskell.org/ghc/ The Glasgow Haskell Compiler
participants (1)
-
GHC