Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Nov 2002 04:50:29 +1100 (EST)
From:      Bruce Evans <bde@zeta.org.au>
To:        Thomas Moestl <tmm@FreeBSD.org>
Cc:        cvs-committers@FreeBSD.org, <cvs-all@FreeBSD.org>
Subject:   Re: cvs commit: src/sys/kern subr_log.c subr_prf.c src/sys/sys     msgbuf.h
Message-ID:  <20021115044733.O11477-100000@gamplex.bde.org>
In-Reply-To: <200211141611.gAEGBC3q065066@repoman.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20021115044733.O11477-100000>