[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Why is `(1 . width)` zero?
From: |
Robert Pluim |
Subject: |
Re: Why is `(1 . width)` zero? |
Date: |
Sun, 24 Jan 2021 11:45:15 +0100 |
>>>>> On Tue, 19 Jan 2021 10:37:24 +0100, Jörg Sommer <joerg@jo-so.de> said:
Jörg> Sorry, I've picked the wrong commit. This one fixes the problem and a
Jörg> backport to 27.1 fixes it there, too.
Jörg> commit c7804ac4018fb03787f291d7ef1739b34914d930 (HEAD,
refs/bisect/with-space)
Jörg> Author: Stefan Monnier <monnier@iro.umontreal.ca>
Jörg> Date: Thu Oct 8 09:49:20 2020 -0400
Jörg> * src/ftcrfont.c (ftcrfont_open): Initialize the `max_width` field
Jörg> On a 32bit build, Emacs can otherwise crash with a
!FIXNUM_OVERFLOW_P
Jörg> assertion in `Ffont_info` by simply doing `emacs -Q` and then
`C-s`.
Jörg> * src/font.c: Try and detect uninitialized `max_width` fields.
Jörg> (font_make_object): Set max_width to a silly value.
Jörg> (Ffont_info): Check the value is not silly any more.
Eli, is this ok to backport to emacs-27?
Thanks
Robert
Re: Why is `(1 . width)` zero?, Robert Thorpe, 2021/01/19