# HG changeset patch # User Kim F. Storm # Date 1084807216 0 # Node ID 333119854d83a13ba4b8113046a721b4bb9710da # Parent d3542bbadad7640f564f358e1783e1436d1c9724 (mark_object): Mark Lisp_Misc_Free cell. Fix comment. diff -r d3542bbadad7 -r 333119854d83 src/alloc.c --- a/src/alloc.c Mon May 17 12:08:02 2004 +0000 +++ b/src/alloc.c Mon May 17 15:20:16 2004 +0000 @@ -4979,10 +4979,9 @@ if (XMISCTYPE (obj) == Lisp_Misc_Free) { /* This is (probably) a freed marker which may still exist on - a buffer undo list, so accept it here. */ - /* If we reuse the marker, and it still exists on the undo - list, and we do undo, behaviour is unpredictable -- - but at least we don't crash here. KFS 2004-05-17 */ + a buffer undo list, so accept it here, as check below will + fail (not live). KFS 2004-05-17 */ + XMARKER (obj)->gcmarkbit = 1; break; } CHECK_ALLOCATED_AND_LIVE (live_misc_p);