failWith: generate proper IOExceptions I cheated a little by mapping first to an errno, using the existing Foreign.C.Error.errnoToIOError, and finally adding the real error message from Win32.  To do this properly we should provide a Win32-specific version of errnoToIOError.
failWith: generate proper IOExceptions
I cheated a little by mapping first to an errno, using the existing
Foreign.C.Error.errnoToIOError, and finally adding the real error
message from Win32.  To do this properly we should provide a
Win32-specific version of errnoToIOError.

Heather/win32,Heather/win32,coreyoconnor/win32,coreyoconnor/win32