From owner-freebsd-standards Thu Apr 25 12:44:24 2002 Delivered-To: freebsd-standards@freebsd.org Received: from chiark.greenend.org.uk (chiark.greenend.org.uk [212.22.195.2]) by hub.freebsd.org (Postfix) with ESMTP id CC89337B417 for ; Thu, 25 Apr 2002 12:44:22 -0700 (PDT) Received: from fanf by chiark.greenend.org.uk with local (Exim 3.12 #1) id 170p9z-0007rU-00 (Debian); Thu, 25 Apr 2002 20:44:07 +0100 Date: Thu, 25 Apr 2002 20:44:07 +0100 From: Tony Finch To: Bruce Evans Cc: Dag-Erling Smorgrav , standards@FreeBSD.ORG Subject: Re: struct iovec Message-ID: <20020425204407.A28674@chiark.greenend.org.uk> References: <20020426052455.J1536-100000@gamplex.bde.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <20020426052455.J1536-100000@gamplex.bde.org>; from bde@zeta.org.au on Fri, Apr 26, 2002 at 05:28:49AM +1000 Sender: owner-freebsd-standards@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, Apr 26, 2002 at 05:28:49AM +1000, Bruce Evans wrote: > > We also have a wrong type for iov_len (should be size_t). Um, it is size_t. I note that making iov_base into a void* makes adjusting the pointer much more painful, since you can't do arithmetic on void*. There is lots of code in the system that assumes that you can do arithmetic on iov_base... Tony. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-standards" in the body of the message