|
From: | Paul Eggert |
Subject: | Re: `message' not outputting the newline "atomically" |
Date: | Thu, 20 Jun 2019 10:41:34 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 6/20/19 9:45 AM, Eli Zaretskii wrote:
No: POSIX allows stderr to be line-bufferedAllows, yes. But by default it's unbuffered, right?
No. POSIX allows the default to be line buffered (or to be buffered in other ways, so long as it's not "fully buffered"), and some platforms do that. (POSIX also allows the default to be unbuffered, but it doesn't require this.)
We really don't want stderr to be unbuffered on GNU/Linux and similar platforms; that would slow down execution signficantly.
[Prev in Thread] | Current Thread | [Next in Thread] |