id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc,os,architecture,failure,difficulty,testcase,blockedby,blocking,related
5184,createDirectory does not retry on EINTR (interrupted),CoreyOConnor,simonmar,"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. 
",bug,closed,high,7.2.1,libraries/unix,7.0.3,fixed,,pho@…,MacOS X,x86,Incorrect result at runtime,,,,,
