This is the mail archive of the
gdb-patches@sources.redhat.com
mailing list for the GDB project.
Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin
- From: Eli Zaretskii <eliz at is dot elta dot co dot il>
- To: Michael Snyder <msnyder at redhat dot com>
- Cc: gdb-patches at sources dot redhat dot com
- Date: Tue, 6 Aug 2002 07:42:47 +0300 (IDT)
- Subject: Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin
On Mon, 5 Aug 2002, Michael Snyder wrote:
> do we actually know of any environments
> where the #if is strictly necessary?
Since GDB requires ISO C, and "wb" is part of the ISO C spec, I think we
can drop the #if. (Dependance on O_BINARY being defined is not very
clean anyway, IMHO, since O_BINARY does not belong to `fopen'.)