[Top][All Lists]

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

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

From: Lars Ingebrigtsen
Subject: Re: `message' not outputting the newline "atomically"
Date: Sun, 23 Jun 2019 22:42:29 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Paul Eggert <address@hidden> writes:

> Although the original bug report was indeed about 'message', the
> problem can occur with any output sent to stderr, and merely fiddling
> with 'message' will not fix the more-general problem.

That's true, but the special thing about that message_to_stderr function
is that it first does that fwrite, and then the fputc for the newline,
which is exactly what make this glitch appear.  That can be rewritten
rather trivially to do just one fwrite...

(domestic pets only, the antidote for overdose, milk.)
   bloggy blog: http://lars.ingebrigtsen.no

reply via email to

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