From owner-cvs-all Thu Nov 7 18:41:58 2002 Delivered-To: cvs-all@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 49AA837B617 for ; Thu, 7 Nov 2002 18:41:46 -0800 (PST) Received: from mail.speakeasy.net (mail11.speakeasy.net [216.254.0.211]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6365A43E77 for ; Thu, 7 Nov 2002 18:41:45 -0800 (PST) (envelope-from jhb@FreeBSD.org) Received: (qmail 6123 invoked from network); 8 Nov 2002 02:41:57 -0000 Received: from unknown (HELO server.baldwin.cx) ([216.27.160.63]) (envelope-sender ) by mail11.speakeasy.net (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Nov 2002 02:41:57 -0000 Received: from laptop.baldwin.cx (laptop.baldwin.cx [192.168.0.4]) by server.baldwin.cx (8.12.6/8.12.6) with ESMTP id gA82fin5058342; Thu, 7 Nov 2002 21:41:44 -0500 (EST) (envelope-from jhb@FreeBSD.org) Message-ID: X-Mailer: XFMail 1.5.2 on FreeBSD X-Priority: 3 (Normal) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 8bit MIME-Version: 1.0 In-Reply-To: <1111.1036694567@critter.freebsd.dk> Date: Thu, 07 Nov 2002 21:41:45 -0500 (EST) From: John Baldwin To: Poul-Henning Kamp Subject: Re: cvs commit: src/sys/dev/ppbus pcfclock.c Cc: cvs-all@FreeBSD.org, cvs-committers@FreeBSD.org Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On 07-Nov-2002 Poul-Henning Kamp wrote: > In message <200211071726.gA7HQcPb030790@repoman.freebsd.org>, John Baldwin writ > es: >>jhb 2002/11/07 09:26:38 PST >> >> Modified files: >> sys/dev/ppbus pcfclock.c >> Log: >> d_read_t functions return an int, not a ssize_t. (Considering the fact >> that read(2) returns a ssize_t perhaps this is a bug in d_read_t?) > > Not really. The size_t returned by read actually comes from inside the > uio structure unless it returns an error. Ah, ok. Duh. -- John Baldwin <>< http://www.FreeBSD.org/~jhb/ "Power Users Use the Power to Serve!" - http://www.FreeBSD.org/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message