WinHugs patch, machdep.c

Neil Mitchell ndmitchell at gmail.com
Fri Sep 2 06:32:45 EDT 2005


Hi,

Patch for machdep.c.

This removes the feature where the cursor changes to the rubbish bin
during garbage collection. I've never seen this in action, which
probably means that it either didn't work, or that on a modern machine
GC is too fast to spot it. Either way, a garbage can on windows means
delete files, not freeing memory!

Also instead of destroying the main window with windows API calls and
the magic hWndMain in response to exit, be nice and call WinHugsExit.
WinHugs.patch renames this call from KillWindow to WinHugsExit and
adds it to the appropriate header.

Thanks

Neil
-------------- next part --------------
A non-text attachment was scrubbed...
Name: machdep.c.patch
Type: application/octet-stream
Size: 1459 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20050902/44b499a7/machdep.c.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: winhugs.patch
Type: application/octet-stream
Size: 1019 bytes
Desc: not available
Url : http://www.haskell.org//pipermail/cvs-hugs/attachments/20050902/44b499a7/winhugs.obj


More information about the Cvs-hugs mailing list