cvs commit: src/sys/netinet sctp_output.c

Matthew Dillon dillon at apollo.backplane.com
Tue Nov 20 16:30:11 PST 2007


:Shouldn't this be in #ifdef __DragonFly__ block?
:
:It also needs MFC (commit that introduced socketvar2.h has just been MFCed).
:
: -thomas

    Generally speaking we don't worry too much about maintaining that level
    of portability.  Many of the other BSDs have removed their portability
    #if's and we're doing the same thing.  The main reason is that it just
    doesn't help for kernel code.... those #ifdef'd out pieces become stale
    and untested in a very short period of time, to the point where you might
    as well just remove them.  Plus it makes the code more readable.

						-Matt





More information about the Commits mailing list