Source-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: syssrc



Module Name:    syssrc
Committed By:   simonb
Date:           Sat May 27 03:24:51 UTC 2000

Modified Files:
        syssrc/sys/kern: kern_sysctl.c

Log Message:
Set *sizep correctly if returning the number of elements.  Pointed out
by Anders Magnusson.

Honor elem_count in the KERN_PROC2 case, as well as overall buffer
space.  The only user-land code to use this set the elem_count to
"buffer_space / elem_size", so we've had no incorrect behaviour to date.


To generate a diff of this commit:
cvs rdiff -r1.63 -r1.64 syssrc/sys/kern/kern_sysctl.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.




Home | Main Index | Thread Index | Old Index