From owner-cvs-all Thu Nov 14 9:37:57 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 65CB137B401; Thu, 14 Nov 2002 09:37:56 -0800 (PST) Received: from mailman.zeta.org.au (mailman.zeta.org.au [203.26.10.16]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0BB8543E6E; Thu, 14 Nov 2002 09:37:55 -0800 (PST) (envelope-from bde@zeta.org.au) Received: from bde.zeta.org.au (bde.zeta.org.au [203.2.228.102]) by mailman.zeta.org.au (8.9.3/8.8.7) with ESMTP id EAA29799; Fri, 15 Nov 2002 04:37:53 +1100 Date: Fri, 15 Nov 2002 04:50:29 +1100 (EST) From: Bruce Evans X-X-Sender: bde@gamplex.bde.org To: Thomas Moestl Cc: cvs-committers@FreeBSD.org, Subject: Re: cvs commit: src/sys/kern subr_log.c subr_prf.c src/sys/sys msgbuf.h In-Reply-To: <200211141611.gAEGBC3q065066@repoman.freebsd.org> Message-ID: <20021115044733.O11477-100000@gamplex.bde.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 Thu, 14 Nov 2002, Thomas Moestl wrote: > tmm 2002/11/14 08:11:12 PST > > Modified files: > sys/kern subr_log.c subr_prf.c > sys/sys msgbuf.h > Log: > Make the msg_size, msg_bufx and msg_bufr memebers of struct msgbuf > signed, since they describe a ring buffer and signed arithmetic is > performed on them. This avoids some evilish casts. > > Since this changes all but two members of this structure, style(9) > those remaining ones, too. > > Requested by: bde > Reviewed by: bde (earlier version) Thanks. Bruce To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message