]> 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)
committerMattias Engdegård <mattiase@acm.org>
Sat, 13 Jan 2024 19:50:38 +0000 (20:50 +0100)
commit7ad5d427730fea3865bc678c6673ffd58b6af653
treee683d27d4c5dd989f7af673d5764c3ef3b461dde
parent68f8bc3111424527205ebfe4498e5bebf50f50bf
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.
src/fns.c
src/pdumper.c