]> git.eshelyaron.com Git - emacs.git/commit
Don't dump Qunbound
authorMattias EngdegÄrd <mattiase@acm.org>
Wed, 22 Nov 2023 12:47:56 +0000 (13:47 +0100)
committerEshel Yaron <me@eshelyaron.com>
Sun, 14 Jan 2024 15:15:46 +0000 (16:15 +0100)
commit3c430b24e16439af6adb3f560ad28fdc215d0112
tree4d417d83314bafe4cf16fdbd3cb5cb5ba8013855
parentfad8fb2264c6263a18ff115d31cce3fbde7159a7
Don't dump Qunbound

The dumper uses a hash table to keep track of dumped objects but as
this clashes with the use of Qunbound for marking unused hash table
entries, don't dump that value at all.  The symbol name is fixed up
after loading.

An alternative solution would be to use a different unique value for
unused entries.

* src/pdumper.c (dump_object_needs_dumping_p): Skip Qunbound.
(dump_vectorlike_generic): New function.
(pdumper_load): Call it.

(cherry picked from commit 7ad5d427730fea3865bc678c6673ffd58b6af653)
src/fns.c
src/pdumper.c