markSignalHandlers(): implementation was unnecessary, and had a bug
authorsimonmar@microsoft.com <unknown>
Tue, 6 Jun 2006 08:58:05 +0000 (08:58 +0000)
committersimonmar@microsoft.com <unknown>
Tue, 6 Jun 2006 08:58:05 +0000 (08:58 +0000)
commit47936fa626f195b057de16b35c0e6ca40666fc62
treec7991a824629c63eb8a905daeace3270e6764da8
parentaf60bb6f916eec4f33505d5c0ffaf547119c81ae
markSignalHandlers(): implementation was unnecessary, and had a bug

There's no need to mark the signal handler here, because it is stored
in a StablePtr and hence is a root anyway.  Furthermore, the call to
evac() was passing the address of a local variable, which turned out
to be harmless for copying GC, but fatal for compacting GC: compacting
GC assumes that the addresses of the roots are the same each time.

Fixes: possibly #783, possibly #776, definitely #787
rts/win32/ConsoleHandler.c