From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4004 invoked by alias); 9 Apr 2010 18:47:46 -0000 Received: (qmail 3996 invoked by uid 22791); 9 Apr 2010 18:47:45 -0000 X-SWARE-Spam-Status: No, hits=-1.1 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SARE_MSGID_LONG45,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from ey-out-1920.google.com (HELO ey-out-1920.google.com) (74.125.78.147) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 09 Apr 2010 18:47:41 +0000 Received: by ey-out-1920.google.com with SMTP id 4so281370eyg.24 for ; Fri, 09 Apr 2010 11:47:39 -0700 (PDT) MIME-Version: 1.0 Received: by 10.213.31.211 with HTTP; Fri, 9 Apr 2010 11:47:38 -0700 (PDT) In-Reply-To: References: Date: Fri, 09 Apr 2010 18:47:00 -0000 Received: by 10.213.56.76 with SMTP id x12mr617350ebg.66.1270838859066; Fri, 09 Apr 2010 11:47:39 -0700 (PDT) Message-ID: Subject: Re: PING: [PATCH] properly check error return from socket() and accept() calls From: Ozkan Sezer To: tromey@redhat.com Cc: gdb-patches@sources.redhat.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org X-SW-Source: 2010-04/txt/msg00275.txt.bz2 On Fri, Apr 9, 2010 at 9:45 PM, Tom Tromey wrote: >>>>>> "Ozkan" =3D=3D Ozkan Sezer writes: > > Ozkan> PING. > > Ozkan> 2010-04-03 =A0Ozkan Sezer =A0 > Ozkan> gdb/ > Ozkan> =A0* ser-tcp.c (net_open): Check error return from socket() call b= y its > Ozkan> =A0equality to -1 not by it being negative. > Ozkan> =A0(net_close): Likewise. > [...] > > It seems reasonable enough to me. > Thanks. > Do you have a copyright assignment in place? =A0TBH it isn't clear to me > whether this patch requires one -- it is long enough, but I would say > that there is really only one way to write this patch. > > Tom > I have for binutils, I can't remember whether I do for gdb. If it really is required, please tell me that I contact FSF for it. -- Ozkan