[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: `message' not outputting the newline "atomically"

From: Eli Zaretskii
Subject: Re: `message' not outputting the newline "atomically"
Date: Wed, 26 Jun 2019 18:23:31 +0300

> From: Lars Ingebrigtsen <address@hidden>
> Cc: Paul Eggert <address@hidden>,  address@hidden,  address@hidden
> Date: Wed, 26 Jun 2019 11:21:43 +0200
> Eli Zaretskii <address@hidden> writes:
> > It is very unusual for code_convert_string to allocate memory;
> > normally it just reuses a buffer that was allocated at startup.
> Hm!  How does that work?  Is that a buffer that's used for all strings
> Emacs allocates or something?  I tried to follow the code, and we seem
> to end up in allocate_string_data, which calls malloc...

Sorry, I've probably misunderstood what was being discussed.  I thought
you were talking about the conversion itself.  The target string is of
course created via xmalloc.  B ut that could hardly infloop.

reply via email to

[Prev in Thread] Current Thread [Next in Thread]