patch applied (ghc): Save the Win32 error code where necessary
Simon Marlow <[email protected]> Fri, 26 Jan 2007 08:29:07 -0800
| Newsgroups | gmane.comp.lang.haskell.cvs.all |
|---|---|
| Message-ID | <20070126162907.GA30021__20985.2532636889$1169828965$gmane$org@cvs.haskell.org> |
Fri Jan 26 08:26:20 PST 2007 Simon Marlow <[email protected]> * 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. M ./includes/TSO.h +3 M ./rts/Schedule.c -2 +32