From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25151 invoked by alias); 8 Aug 2002 05:09:02 -0000 Mailing-List: contact gdb-patches-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sources.redhat.com Received: (qmail 25139 invoked from network); 8 Aug 2002 05:09:00 -0000 Received: from unknown (HELO is.elta.co.il) (199.203.121.2) by sources.redhat.com with SMTP; 8 Aug 2002 05:09:00 -0000 Received: from is (is [199.203.121.2]) by is.elta.co.il (8.9.3/8.8.8) with SMTP id IAA05134; Thu, 8 Aug 2002 08:06:24 +0300 (IDT) Date: Wed, 07 Aug 2002 22:09:00 -0000 From: Eli Zaretskii X-Sender: eliz@is To: Richard.Earnshaw@arm.com cc: gdb-patches@sources.redhat.com Subject: Re: [RFA] cli/cli-dump.c: Write dump always in binary mode on Cygwin In-Reply-To: <200208071543.QAA26484@cam-mail2.cambridge.arm.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-SW-Source: 2002-08/txt/msg00181.txt.bz2 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.