This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
Re: RFA: ensure binary objects opened in binary mode
> Date: Sat, 18 Feb 2006 13:47:19 +0200
> From: Eli Zaretskii <eliz@gnu.org>
>
> > 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.
Yes, that's what I meant.