This is the mail archive of the gdb-patches@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


> 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?


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]