emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Preventing stack overflows with alloca.


From: Richard Stallman
Subject: Re: Preventing stack overflows with alloca.
Date: Fri, 18 Jun 2004 23:19:15 -0400

    Since old_value is not a lisp object here,
    we would need to fix (hack) GC like this:

      for (bind = specpdl; bind != specpdl_ptr; bind++)
        {
          mark_object (bind->symbol);
          if (bind->func != safe_alloca_unwind)
            mark_object (bind->old_value);
        }

Or else use make_save_value to convert it to a clean Lisp object.
Then GC won't need changing.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]