|
Re: [GHC] #724: tee complains if used in a process started by ghc: msg#00092lang.haskell.glasgow.bugs
#724: tee complains if used in a process started by ghc -------------------------------+-------------------------------------------- Reporter: guest | Owner: Type: bug | Status: new Priority: normal | Milestone: 6.6 Component: libraries/base | Version: 6.4.1 Severity: normal | Resolution: Keywords: | Os: Unknown Difficulty: Moderate (1 day) | Architecture: Unknown -------------------------------+-------------------------------------------- Changes (by simonmar): * difficulty: Unknown => Moderate (1 day) * component: Compiler => libraries/base * milestone: => 6.6 Comment: We know why this is: it's because GHC puts stdin/stdout into non-blocking mode, and tee doesn't like it. There's a fix for the threaded RTS. We could avoid putting the standard file descriptors into non-blocking mode, and instead make blocking FFI calls to access them. This can't be used in the non-threaded RTS. (GHC is now linked with the threaded RTS, so this would fix the case in this bug report). It's not a simple fix, so I'll probably punt until 6.6. -- Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/724> GHC <http://www.haskell.org/ghc/> The Glasgow Haskell Compiler_______________________________________________ Glasgow-haskell-bugs mailing list Glasgow-haskell-bugs@xxxxxxxxxxx http://www.haskell.org/mailman/listinfo/glasgow-haskell-bugs
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: [GHC] #718: FinalizerEnvPtr and newForeignPtrEnv missing from Freign.ForeignPtr, GHC |
|---|---|
| Next by Date: | Re: [GHC] #716: Unloading a dll generated by GHC doesn't free all resources, GHC |
| Previous by Thread: | [GHC] #724: tee complains if used in a process started by ghc, GHC |
| Next by Thread: | [GHC] #725: bug with -O2 -optc-O2, GHC |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |