Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin

Eli Zaretskii
2002-08-08T05:09:02Z

On Wed, 7 Aug 2002, Richard Earnshaw wrote:

> > 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'.)
> >
>
> I don't think we can assume an ISO conforming C library.

All we need to assume is that the `b' part does not cause `fopen' to
fail.