Re: [PATCH 3/3] Set stdin/stdout/stderr to binary mode in cygwin.

Eli Zaretskii
2013-07-29T15:44:23Z

> From: Yao Qi <yao@codesourcery.com>
> Date: Mon, 29 Jul 2013 16:45:46 +0800
>
> + setmode (fileno (stdin), O_BINARY);
> + setmode (fileno (stdout), O_BINARY);
> + setmode (fileno (stderr), O_BINARY);

Do you really need all 3 of the standard handles in binary mode? I
thought the problem was only with output?