From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 9071 invoked by alias); 26 Apr 2005 00:21:04 -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 8900 invoked from network); 26 Apr 2005 00:20:35 -0000 Received: from unknown (HELO mail.codesourcery.com) (65.74.133.9) by sourceware.org with SMTP; 26 Apr 2005 00:20:35 -0000 Received: (qmail 29876 invoked from network); 26 Apr 2005 00:20:35 -0000 Received: from localhost (HELO ?192.168.0.3?) (mitchell@127.0.0.1) by mail.codesourcery.com with SMTP; 26 Apr 2005 00:20:35 -0000 Message-ID: <426D894A.9020707@codesourcery.com> Date: Tue, 26 Apr 2005 00:21:00 -0000 From: Mark Mitchell Organization: CodeSourcery, LLC User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) MIME-Version: 1.0 To: Christopher Faylor CC: drow@false.org, gdb-patches@sources.redhat.com, Eli Zaretskii Subject: Re: PATCH: Support Windows in event-loop.c References: <20050425150422.GA13753@nevyn.them.org> <426D0A11.4060604@codesourcery.com> <20050425152324.GA15521@nevyn.them.org> <426D0C1D.8040600@codesourcery.com> <20050425153549.GA15967@nevyn.them.org> <426D5178.6010502@codesourcery.com> <01c549da$Blat.v2.4$626aed00@zahav.net.il> <426D6518.9050305@codesourcery.com> <20050425231507.GA21554@trixie.casa.cgf.cx> <426D7B08.6010401@codesourcery.com> <20050425233320.GA26407@trixie.casa.cgf.cx> In-Reply-To: <20050425233320.GA26407@trixie.casa.cgf.cx> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-SW-Source: 2005-04/txt/msg00333.txt.bz2 Christopher Faylor wrote: > On Mon, Apr 25, 2005 at 04:19:36PM -0700, Mark Mitchell wrote: > >>>The patch was ok with me, too, but it seems like you should be checking >>>the bounds of the handles array just in the off chance that readfds is > >>>63. I know that it is probably vanishingly unlikely that this could ever >>>occur but it still seems like good practice nonetheless. >> >>OK. May I consider a patch to add the appropriate gdb_assert obvious? Committed, thanks! -- Mark Mitchell CodeSourcery, LLC mark@codesourcery.com (916) 791-8304