patch applied (packages/Win32): failWith: generate proper IOExceptions

Simon Marlow simonmarhaskell at gmail.com
Tue Aug 26 09:51:17 EDT 2008


Tue Aug 26 02:24:09 PDT 2008  Simon Marlow <marlowsd at gmail.com>
  * 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.

    M ./System/Win32/Types.hs -1 +14

View patch online:
http://darcs.haskell.org/packages/Win32/_darcs/patches/20080826092409-12142-841c217f4bc1eee5be293294e1eb27a25bd72160.gz


More information about the Cvs-libraries mailing list