svn commit: r200606 - in head/sys: compat/freebsd32 sys
M. Warner Losh
imp at bsdimp.com
Fri Dec 18 22:19:45 UTC 2009
In message: <20091218163626.GF64905 at hoeg.nl>
Ed Schouten <ed at 80386.nl> writes:
: Hello DES,
:
: First of all: happy birthday!
:
: * Dag-Erling Smørgrav <des at des.no> wrote:
: > perhaps we should simply add the appropriate
: > #ifndef / #error constructs so you can't define FREEBSD_COMPAT(n)
: > without FREEBSD_COMPAT(n+1).
:
: Why not make COMPAT_FREEBSD numerical?
:
: | options COMPAT_FREEBSD=4
:
: and let the code use:
:
: | #if COMPAT_FREEBSD <= 4
: | ...
: | #endif
That would take some doing to the syscall generation code as well.
The whole concept of the compat stuff isn't well thought out, since it
seems backwards (and I think that you got your example wrong).
Warner
More information about the svn-src-head
mailing list