diff options
| author | Paul Eggert | 2019-05-13 12:43:13 -0700 |
|---|---|---|
| committer | Paul Eggert | 2019-05-13 12:43:39 -0700 |
| commit | 967711995ecedc0ed79602ad71af57f45d6a3720 (patch) | |
| tree | 09b3995b7607de222bc22dc3511bde137cb940c5 /admin | |
| parent | 3de3452014e8c8dade2cd62aa6c6a701692aa3f9 (diff) | |
| download | emacs-967711995ecedc0ed79602ad71af57f45d6a3720.tar.gz emacs-967711995ecedc0ed79602ad71af57f45d6a3720.zip | |
Fix broken build on m68k
The GCC + valgrind fix caused the m68k build to fail (Bug#35711).
Simplify string allocation a bit to make similar problems less
likely in the future.
* src/alloc.c (sdata, SDATA_NBYTES, SDATA_DATA) [GC_CHECK_STRING_BYTES]:
Use the same implementation as with !GC_CHECK_STRING_BYTES,
as the special case is no longer needed.
(SDATA_ALIGN): New constant.
(SDATA_SIZE): Remove this macro, replacing with ...
(sdata_size): ... this new function. All uses changed.
Properly account for sizes and alignments even in the m68k case,
and even if GC_CHECK_STRING_BYTES is not defined.
Diffstat (limited to 'admin')
0 files changed, 0 insertions, 0 deletions