From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24084 invoked by alias); 24 May 2006 13:06:59 -0000 Received: (qmail 24074 invoked by uid 22791); 24 May 2006 13:06:58 -0000 X-Spam-Check-By: sourceware.org Received: from yosemite.airs.com (HELO yosemite.airs.com) (205.217.158.180) by sourceware.org (qpsmtpd/0.31) with SMTP; Wed, 24 May 2006 13:06:55 +0000 Received: (qmail 25776 invoked from network); 24 May 2006 13:04:19 -0000 Received: from intranet.codesourcery.com (HELO mail.codesourcery.com) (65.74.133.6) by yosemite.airs.com with SMTP; 24 May 2006 13:04:19 -0000 Received: (qmail 21515 invoked from network); 24 May 2006 13:03:19 -0000 Received: from unknown (HELO ?192.168.189.145?) (nathan@127.0.0.2) by mail.codesourcery.com with ESMTPA; 24 May 2006 13:03:19 -0000 Message-ID: <44745977.2040707@codesourcery.com> Date: Wed, 24 May 2006 21:11:00 -0000 From: Nathan Sidwell User-Agent: Mozilla Thunderbird 1.0.8 (X11/20060502) MIME-Version: 1.0 To: Daniel Jacobowitz CC: gdb@sourceware.org Subject: Re: reset fileio References: <4474131D.2080805@codesourcery.com> <20060524124120.GA25225@nevyn.them.org> In-Reply-To: <20060524124120.GA25225@nevyn.them.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact gdb-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00352.txt.bz2 Daniel Jacobowitz wrote: > On Wed, May 24, 2006 at 09:02:37AM +0100, Nathan Sidwell wrote: > > Won't this free NULL if the target hadn't initialized fileio? I think > that's non-portable. still? in this day & age? :) ok with the obvious change to protect free? nathan -- Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery nathan@codesourcery.com :: http://www.planetfall.pwp.blueyonder.co.uk