RFA: ensure binary objects opened in binary mode

Eli Zaretskii eliz@gnu.org
Sat Feb 18 11:47:00 GMT 2006


> Date: Sat, 18 Feb 2006 12:18:58 +0100 (CET)
> From: Mark Kettenis <mark.kettenis@xs4all.nl>
> CC: gdb-patches@sourceware.org, cygwin@cwilson.fastmail.fm
> 
> > Agreed.  I think defs.h is a good place, do you agree?
> > 
> Problem is that right now defs.h doesn't include <fcntl.h> (where I
> expect O_BINARY to be defined on systems that have it).  So we should
> move that into fcntl.h as well

You mean, include <fcntl.h> from defs.h, right?  If so, I agree.



More information about the Gdb-patches mailing list