createDirectory does not retry on EINTR (interrupted)
With GHC 7.0.3 on Mac OS X 32bit the createDirectory call does not retry if the call is interrupted. I would expect the call to be retried.
Unfortunately, I have not determined a small test program for this bug. This is the output from when this issue occurs:
/home/coconnor/Development/dev-system: createDirectory: interrupted (Interrupted system call)
Interestingly the directory indicated by this output does not match the directory requested to be created. The program calls:
createDirectoryIfMissing True "/home/coconnor/Development/dev-system/build/"
And it is known, at the time, that the directory "/home/coconnor/Development/dev-system" exists. Perhaps the method checking for if a directory exists is also receiving EINTR?
This same program works as expected on linux 32bit & 64bit using GHC 7.0.3.
Trac metadata
| Trac field | Value |
|---|---|
| Version | 7.0.3 |
| Type | Bug |
| TypeOfFailure | OtherFailure |
| Priority | normal |
| Resolution | Unresolved |
| Component | libraries/unix |
| Test case | |
| Differential revisions | |
| BlockedBy | |
| Related | |
| Blocking | |
| CC | |
| Operating system | |
| Architecture |