[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#44850: 27.1; Emacs crash in font handling with font-backend ns
From: |
Lars Ingebrigtsen |
Subject: |
bug#44850: 27.1; Emacs crash in font handling with font-backend ns |
Date: |
Sun, 29 Nov 2020 10:45:24 +0100 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) |
Mattias EngdegÄrd <mattiase@acm.org> writes:
> Yes, the restriction is a bit odd but perhaps there was a good
> reason. For this application, however, we could just switch from
> esprintf to sprintf in nsterm.m. (The stated reason for using esprintf
> was in case the string is longer than 2 GiB but I think we would have
> bigger problems if a frame title ever becomes that long.)
>
> OK for master? (Also fixed the unsightly 'x' while at it)
Like Eli says, this really should be fixed in doprint.c.
However, since this is a crash that makes Emacs unusable, and since (as
you point out) sprintf is unproblematic here, I'm fine with applying the
patch. Perhaps with a FIXME comment about how this should your esprintf
once doprintf has been fixed.
--
(domestic pets only, the antidote for overdose, milk.)
bloggy blog: http://lars.ingebrigtsen.no
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, (continued)
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Eli Zaretskii, 2020/11/26
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Lars Ingebrigtsen, 2020/11/27
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Alan Third, 2020/11/27
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Lars Ingebrigtsen, 2020/11/27
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Alan Third, 2020/11/27
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Pieter van Oostrum, 2020/11/28
- bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Eli Zaretskii, 2020/11/27
bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Alan Third, 2020/11/29
bug#44850: 27.1; Emacs crash in font handling with font-backend ns, Mattias EngdegÄrd, 2020/11/27