On Wed, 28 Feb 2001, Igor Robul wrote:

> On Wed, Feb 28, 2001 at 03:00:48PM +0200, Maxim Sobolev wrote:
> > Hi Poul,
> > 
> > In revision 1.31 of src/sys/sys/user.h you have added new ki_layout field to
> > kinfo_proc structure, but forgot to increase KINFO_PROC_SIZE  from 644 to 648.
> > Please correct.
> Why don't use sizeof() insead of hardcoding numbers? 

because we don't want the size of the struct.  We want the size that the
should have.  It must be a constant for binary compatibility.  This is
a small part of binary compatibility, but good enough to inhibit adding
new fields in the middle.

Bruce


To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-current" in the body of the message

Reply via email to