]> git.eshelyaron.com Git - emacs.git/commit
Refix aborts due to GC losing pseudovectors
authorPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 May 2020 05:06:25 +0000 (22:06 -0700)
committerPaul Eggert <eggert@cs.ucla.edu>
Tue, 26 May 2020 05:06:44 +0000 (22:06 -0700)
commit3abf76da564ff8526bbcba6b92dfb7b97cb87779
tree5378b937bd67b0dcbfa2a3ec1d5fb0a62485f06a
parent0dc529175dc027c1567fb9b7cd529d29236aad44
Refix aborts due to GC losing pseudovectors

This is simpler, and fixes a bug in the previous fix.
* src/alloc.c (MALLOC_ALIGNMENT_BOUND): Simplify by
using max_align_t, since the buggy implementations won’t
break this simpler implementation.
(LISP_ALIGNMENT): Simplify by just using GCALIGNMENT, since the
fancier implementation wasn’t correct anyway, and fixing it
isn’t worth the trouble on practical platforms.
* src/lisp.h (union emacs_align_type): Remove.
src/alloc.c
src/lisp.h