This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: [PATCH 3/3] Set stdin/stdout/stderr to binary mode in cygwin.
- From: Eli Zaretskii <eliz at gnu dot org>
- To: Yao Qi <yao at codesourcery dot com>
- Cc: gdb-patches at sourceware dot org
- Date: Mon, 29 Jul 2013 18:44:21 +0300
- Subject: Re: [PATCH 3/3] Set stdin/stdout/stderr to binary mode in cygwin.
- References: <1375087546-22591-1-git-send-email-yao at codesourcery dot com> <1375087546-22591-4-git-send-email-yao at codesourcery dot com>
- Reply-to: Eli Zaretskii <eliz at gnu dot org>
> 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?