Admin message

Due to a large amount of spam we do not allow new users to create repositories, they are "external" users. If you are a new user and want to create a repository, for example for forking GHC, open a new issue on ghc/ghc using the "get-verified" issue template

hGetBufNonBlocking doesn't work on Windows
All HAppS (http://happs.org/HAppS/README.html) applications fail with an internal error: asyncRead\# when compiled with the -threaded option. To reproduce the error: - compile any of the apps in the example subdirectory with -threaded and access it over the net (http://localhost:8000). For example: ghc --make -v -fallow-overlapping-instances -fglasgow-exts -threaded httpd.hs -o httpd The same programs compiled without -threaded work fine. Tested on Windows XP with latest SP/patches and gcc 6.4.2. Let me know if you would like more info or the full compilation trace. <details><summary>Trac metadata</summary> | Trac field | Value | | ---------------------- | ------------ | | Version | 6.4.2 | | Type | Bug | | TypeOfFailure | OtherFailure | | Priority | normal | | Resolution | Unresolved | | Component | Compiler | | Test case | | | Differential revisions | | | BlockedBy | | | Related | | | Blocking | | | CC | | | Operating system | | | Architecture | | </details> <!-- {"blocked_by":[],"summary":"internal error: asyncRead# on threaded RTS with HAppS -threaded","status":"New","operating_system":"","component":"Compiler","related":[],"milestone":"","resolution":"Unresolved","owner":{"tag":"Unowned"},"version":"6.4.2","keywords":[],"differentials":[],"test_case":"","architecture":"","cc":[""],"type":"Bug","description":"All HAppS (http://happs.org/HAppS/README.html) applications fail with an internal error: asyncRead# when compiled with the -threaded option.\r\n\r\nTo reproduce the error:\r\n- compile any of the apps in the example subdirectory with -threaded and access it over the net (http://localhost:8000).\r\n\r\nFor example: \r\n\r\nghc --make -v -fallow-overlapping-instances -fglasgow-exts -threaded httpd.hs -o httpd\r\n\r\nThe same programs compiled without -threaded work fine.\r\n\r\nTested on Windows XP with latest SP/patches and gcc 6.4.2.\r\n \r\nLet me know if you would like more info or the full compilation trace.","type_of_failure":"OtherFailure","blocking":[]} -->
issue