Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Nov 2002 08:11:12 -0800 (PST)
From:      Thomas Moestl <tmm@FreeBSD.org>
To:        cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org
Subject:   cvs commit: src/sys/kern subr_log.c subr_prf.c src/sys/sys msgbuf.h
Message-ID:  <200211141611.gAEGBC3q065066@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
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)
  
  Revision  Changes    Path
  1.52      +6 -9      src/sys/kern/subr_log.c
  1.92      +3 -2      src/sys/kern/subr_prf.c
  1.19      +6 -6      src/sys/sys/msgbuf.h

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?200211141611.gAEGBC3q065066>