From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 32536 invoked by alias); 24 Sep 2004 21:32:16 -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 32526 invoked from network); 24 Sep 2004 21:32:15 -0000 Received: from unknown (HELO Cantor.suse.de) (195.135.220.2) by sourceware.org with SMTP; 24 Sep 2004 21:32:15 -0000 Received: from hermes.suse.de (hermes-ext.suse.de [195.135.221.8]) (using TLSv1 with cipher EDH-RSA-DES-CBC3-SHA (168/168 bits)) (No client certificate requested) by Cantor.suse.de (Postfix) with ESMTP id EA385C69517 for ; Fri, 24 Sep 2004 23:32:14 +0200 (CEST) To: gdb-patches@sources.redhat.com Subject: Re: [RFC] Suggested ways to remove the need for xm-go32.h References: <01c49d82$Blat.v2.2.2$23875ec0@zahav.net.il> <20040923050534.GA11936@trixie.casa.cgf.cx> <200409232058.i8NKwHg4009186@elgar.sibelius.xs4all.nl> <20040923211643.GA22829@trixie.casa.cgf.cx> <01c4a223$Blat.v2.2.2$e47a6c80@zahav.net.il> <20040924122406.GA10888@cygbert.vinschen.de> <20040924195330.GT674@trixie.casa.cgf.cx> From: Andreas Schwab X-Yow: Place me on a BUFFER counter while you BELITTLE several BELLHOPS in the Trianon Room!! Let me one of your SUBSIDIARIES! Date: Fri, 24 Sep 2004 21:32:00 -0000 In-Reply-To: <20040924195330.GT674@trixie.casa.cgf.cx> (Christopher Faylor's message of "Fri, 24 Sep 2004 15:53:30 -0400") Message-ID: User-Agent: Gnus/5.110002 (No Gnus v0.2) Emacs/21.3.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2004-09/txt/msg00421.txt.bz2 Christopher Faylor writes: > On Fri, Sep 24, 2004 at 03:36:21PM +0200, Andreas Schwab wrote: >>Corinna Vinschen 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'? That's what I meant with heap of problems. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE Linux AG, Maxfeldstraße 5, 90409 Nürnberg, Germany Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."