emacs-devel
[Top][All Lists]
Advanced

[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: Mon, 24 Jun 2019 22:17:17 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/27.0.50 (gnu/linux)

Daniele Nicolodi <address@hidden> writes:

> Isn't this more naturally spelled as below?
>
> string[length] = '\n';

Yup.

>>    fflush (stderr);
>
> I think the fflush() here can be dropped, stderr is not buffered.

Probably, but Emacs is being built on a large number of systems.  Is
stderr unbuffered on all of them?

It has no performance impact, I'd imagine...

-- 
(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]