On Mon, Jan 11, 2010 at 7:49 PM, Jeremy Shaw <jeremy@n-heptane.com> wrote:
Alas, I get the error, openBinaryFile: resource busy (file is locked).
What is the proper work around for this?
This behaviour is specified in the Haskell standard. I don't know what the rationale is intended to be, but I don't like the behaviour either.
I believe you can work around it by using
System.Posix.IO to open a file, then convert the Fd to a Handle.