|
From: | Paul Eggert |
Subject: | Re: [PATCH] binary-io: do not treat set_binary_mode() on stdin/out/err as an error on OS/2 |
Date: | Fri, 24 May 2019 13:20:46 -0700 |
User-agent: | Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.7.0 |
On 5/24/19 4:31 AM, KO Myung-Hun wrote:
Setting stdin/out/err to binary mode is allowed on OS/2. But it's not useful, because it generates stair-output hard to read. Instead, let's set them to text mode all the time.
First, that patch doesn't set them to text mode all the time; it does so only if isatty returns nonzero.
Second, __gl_setmode_check already has the isatty test, so why do it twice?
[Prev in Thread] | Current Thread | [Next in Thread] |