svn commit: r199827 - in head: include lib/libc/compat-43 sys/sys

Dag-Erling Smørgrav des at des.no
Fri Dec 4 10:16:39 UTC 2009


Kostik Belousov <kostikbel at gmail.com> writes:
> No. My interpretation of __FreeBSD_version is that the bump indicates
> incompatible change in the interfaces.

...or the introduction of a new interface; see for instance r194210,
where simon@ bumped it to mark a new OpenSSL version with new features.
It is widely used in the ports tree to determine whether a particular
patch should be applied.

(actually, that's precisely the reason why __FreeBSD_version was
introduced, and it lived in userland for a while before eivind@ moved it
into the kernel in 1998)

> Sometime it is used to mark the point where big changes hit the tree,
> possibly not related to interface change.

Bumps are cheap, better one too many than one too few.

> Also, __FreeBSD_version denotes the kernel "version".

No, it has been bumped for libc changes in the past.

DES
-- 
Dag-Erling Smørgrav - des at des.no


More information about the svn-src-all mailing list