aboutsummaryrefslogtreecommitdiffstats
path: root/exec/exec.c
diff options
context:
space:
mode:
authorPaul Eggert2023-05-14 18:51:24 -0700
committerPaul Eggert2023-05-14 19:28:14 -0700
commitebf5e4ca1cd39d3f23c4e37d9bdfeb2bf347df6d (patch)
tree7734426aad009616be65ee2c729421618399abe8 /exec/exec.c
parent9f8a5989b651c229e5cc7b59fb6dcedd33875f4b (diff)
downloademacs-ebf5e4ca1cd39d3f23c4e37d9bdfeb2bf347df6d.tar.gz
emacs-ebf5e4ca1cd39d3f23c4e37d9bdfeb2bf347df6d.zip
Prefer _WIDTH macros to sizeof in pdumper.c
This is a bit clearer, and should work better on hypothetical platforms where integers have holes in their representation. * src/pdumper.c: Since the code no longer uses CHAR_BIT, don’t worry about whether it equals 8. (DUMP_OFF_WIDTH): New macro. (EMACS_RELOC_LENGTH_BITS, DUMP_RELOC_OFFSET_BITS): Use it. (DUMP_BITSET_WORD_WIDTH): New macro. (dump_bitsets_init, dump_bitset__bit_slot) (dump_bitset_bit_set_p, dump_bitset__set_bit_value): Use it.
Diffstat (limited to 'exec/exec.c')
0 files changed, 0 insertions, 0 deletions