svn commit: r217586 - in head: sbin/sysctl share/man/man9 sys/cam/scsi sys/dev/cxgb sys/dev/wi sys/net sys/sys

Garrett Cooper gcooper at FreeBSD.org
Mon Mar 14 19:38:24 UTC 2011


On Wed, Jan 19, 2011 at 9:04 AM, Matthew D Fleming <mdf at freebsd.org> wrote:
> Author: mdf
> Date: Wed Jan 19 17:04:07 2011
> New Revision: 217586
> URL: http://svn.freebsd.org/changeset/base/217586
>
> Log:
>  sysctl(8) should use the CTLTYPE to determine the type of data when
>  reading.  (This was already done for writing to a sysctl).  This
>  requires all SYSCTL setups to specify a type.  Most of them are now
>  checked at compile-time.
>
>  Remove SYSCTL_*X* sysctl additions as the print being in hex should be
>  controlled by the -x flag to sysctl(8).

I appreciate the work, but this really should have been followed up by
a __FreeBSD_version__ bump, as this unfortunately broke some ports
like emulators/*qemu*. I just filed a PR for it as I noticed it when
doing portmaster -af for the recent X.org upgrade.

FWIW, this can be properly tested with: __FreeBSD_version__ < 900031;
kib bumped the version a week after this commit.

Thanks,
-Garrett


More information about the svn-src-all mailing list