From: Simon Marlow Date: Fri, 26 Jan 2007 16:26:20 +0000 (+0000) Subject: Save the Win32 error code where necessary X-Git-Tag: 2007-02-05~36 X-Git-Url: http://git.megacz.com/?a=commitdiff_plain;h=911b42b27ad5f039465d14052460e2d9dde053ab;hp=911b42b27ad5f039465d14052460e2d9dde053ab;p=ghc-hetmet.git Save the Win32 error code where necessary Similarly to the way we save errno across context switches and suspendThread/resumeThread, we must save and restore the Win32 error code via GetLastError()/SetLastError(). Fixes #896. ---