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: Andreas Schwab
Subject: Re: `message' not outputting the newline "atomically"
Date: Wed, 19 Jun 2019 18:05:56 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2.90 (gnu/linux)

On Jun 19 2019, Lars Ingebrigtsen <address@hidden> wrote:

> Eli Zaretskii <address@hidden> writes:
>
>> I agree with Andreas: we aren't.  It's just sheer luck if this happens
>> (probably because the time window for mixing output is small).
>
> No, we are on all Unix-like OS-es I'm familiar with, and certainly on
> GNU/Linux: If you output data that's less than PIPE_BUF in length, a
> write(2) call will never interleave the data.

Noninteractively, message goes to stderr, which is unbuffered by
default.

Andreas.

-- 
Andreas Schwab, SUSE Labs, address@hidden
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE  1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."



reply via email to

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