From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27945 invoked by alias); 30 Mar 2010 18:42:14 -0000 Received: (qmail 27934 invoked by uid 22791); 30 Mar 2010 18:42:13 -0000 X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_NONE X-Spam-Check-By: sourceware.org Received: from mail-out.m-online.net (HELO mail-out.m-online.net) (212.18.0.9) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Tue, 30 Mar 2010 18:42:06 +0000 Received: from mail01.m-online.net (mail.m-online.net [192.168.3.149]) by mail-out.m-online.net (Postfix) with ESMTP id ED7FE1C15675; Tue, 30 Mar 2010 20:42:03 +0200 (CEST) Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id D456890A7E; Tue, 30 Mar 2010 20:42:03 +0200 (CEST) Received: from mail.mnet-online.de ([192.168.3.149]) by localhost (dynscan1.mnet-online.de [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id Q1iydZvJJD-f; Tue, 30 Mar 2010 20:42:02 +0200 (CEST) Received: from igel.home (ppp-88-217-118-135.dynamic.mnet-online.de [88.217.118.135]) by mail.mnet-online.de (Postfix) with ESMTP; Tue, 30 Mar 2010 20:42:02 +0200 (CEST) Received: by igel.home (Postfix, from userid 501) id 71CC4CA297; Tue, 30 Mar 2010 20:42:02 +0200 (CEST) From: Andreas Schwab To: tromey@redhat.com Cc: Mike Frysinger , gdb-patches@sourceware.org Subject: Re: [PATCH] sim: use socklen_t with accept() References: <1269891513-2771-1-git-send-email-vapier@gentoo.org> X-Yow: I'm EXCITED!! I want a FLANK STEAK WEEK-END!! I think I'm JULIA CHILD!! Date: Tue, 30 Mar 2010 18:42:00 -0000 In-Reply-To: (Tom Tromey's message of "Tue, 30 Mar 2010 10:10:51 -0600") Message-ID: User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.1.94 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii 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-03/txt/msg01080.txt.bz2 Tom Tromey writes: >>>>>> "Mike" == Mike Frysinger writes: > > Mike> The accept() function takes a socklen_t, not an int. > > I thought there were still platforms where accept took an int*. Those platforms either define socklen_t to int (which is actually the de-facto standard), or not at all. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."