Re: PROPOSAL: dot-proc interface [was: /proc stuff]

Jonathan Lundell (jlundell@pobox.com)
Mon, 5 Nov 2001 11:58:27 -0800


At 8:38 AM -0800 11/5/01, Stephen Satchell wrote:
>As for version fields: I HATE THEM. So much of my older code has
>bloat because of "version fields" that require that I have multiple
>blocks of code for the same damn thing. POSIX code that has to
>determine which version of POSIX is implemented, and tailor the code
>at run-time to the whims of the OS gods. BLOAT BLOAT BLOAT.
>Besides, you already have a "version field", or is the release level
>of Linux too coarse for you?

Either too coarse or too fine, often enough, when we're talking about
a semi-independent module. Consider, though, a more legitimate
non-bloating use of a version field. Rather than try to support all
versions, use it to determine whether the two ends of the
communication channel are compatible, and fail gracefully because of
the incompatible version. Tell the user to update the app, or
whatever.

-- 
/Jonathan Lundell.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/