[GHC] #5058: getProcessExitCode doesn't retry on EINTR
GHC
cvs-ghc at haskell.org
Mon Mar 28 20:02:35 CEST 2011
#5058: getProcessExitCode doesn't retry on EINTR
---------------------------------+------------------------------------------
Reporter: sclv | Owner:
Type: bug | Status: new
Priority: normal | Component: libraries/process
Version: 7.0.3 | Keywords:
Testcase: | Blockedby:
Os: Linux | Blocking:
Architecture: Unknown/Multiple | Failure: Incorrect result at runtime
---------------------------------+------------------------------------------
Just like the ticket says. The source uses throwErrnoIfMinus1, and I can't
think why it shouldn't just use throwErrnoIfMinus1Retry. I think that this
is an issue with a few other functions that should do the same thing,
including waitForProcess and probably terminateProcess as well.
I also wonder if the same issue is in other core libraries, but that's
beyond this ticket.
--
Ticket URL: <http://hackage.haskell.org/trac/ghc/ticket/5058>
GHC <http://www.haskell.org/ghc/>
The Glasgow Haskell Compiler
More information about the Glasgow-haskell-bugs
mailing list