From 26460328bc92605f5c3a41dc1963519299c6e266 Mon Sep 17 00:00:00 2001 From: Eli Zaretskii Date: Sat, 5 Nov 2022 15:19:42 +0200 Subject: Fix the unexec build * src/itree.c (forget_itree): New function. * src/emacs.c (Fdump_emacs): Call 'forget_itree'. --- src/emacs.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/emacs.c') diff --git a/src/emacs.c b/src/emacs.c index 40ba0db340d..1b2aa9442b7 100644 --- a/src/emacs.c +++ b/src/emacs.c @@ -3105,6 +3105,8 @@ You must run Emacs in batch mode in order to dump it. */) gflags.will_dump_with_unexec_ = false; gflags.dumped_with_unexec_ = true; + forget_itree (); + alloc_unexec_pre (); unexec (SSDATA (filename), !NILP (symfile) ? SSDATA (symfile) : 0); -- cgit v1.2.3