This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFC] Suggested ways to remove the need for xm-go32.h
On Fri, Sep 24, 2004 at 03:36:21PM +0200, Andreas Schwab wrote:
>Corinna Vinschen <vinschen@redhat.com> writes:
>>That's nothing GDB should be concerned of, probably, but that's
>>definitely a leak in the definitions. How much sense does it make to
>>allow "b" in fopen but no equivalent in the low-level interface :-(
>
>Doing the text conversion on the low level creates a heap of problems
>with POSIX semantics. The stdio level is much better suited for this
>task.
Yeah, but it makes things pretty tough for a system that has to support
tough, like what happens when you do an fdopen on a file that has been
open()ed with O_TEXT and then do an 'fseek'?
I truly all of this binary/text stuff. I wish Cygwin had never tried to
continue to advance the distinction.
cgf