Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Mar 1998 04:14:58 +1100
From:      Bruce Evans <bde@zeta.org.au>
To:        committers@FreeBSD.ORG, dufault@hda.com
Subject:   Re: "backing out" changes
Message-ID:  <199803191714.EAA08033@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>I've noticed the OID_AUTO in sysconf, and I've switched the p1003.1b
>stuff to use that.  I don't know how I missed this when I first did this
>a year ago.
>
>This means that the recent changes in sys/sysctl.h and
>lib/libc/gen/sysconf.c are bad and are undone locally.

OID_AUTO was only suitable for the user interface (sysctl(8), not
sysctl(3)).  That changed when sysctlbyname() was added to the library.
However, sysctlbyname() is rarely used.  sysctl() could be more efficient
that sysctlbyname(), but both are currently almost as inefficient as
open() (they take 10000-15000 instructions to read a single integer from
the kernel).

The CTL_*_NAMES arrays haven't been used for a long time, but are sort
of maintained.

>When I see people saying that they are "backing out changes" are they
>simply overwriting the changes they made or are they doing something
>else?

I mean simply overwriting.

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?199803191714.EAA08033>