Subject: kern/3443: cannot distinguish 1.2 from 1.2.1
To: None <firstname.lastname@example.org>
From: John Kohl <email@example.com>
Date: 04/02/1997 23:46:02
>Synopsis: cannot distinguish 1.2 from 1.2.1
>Responsible: kern-bug-people (Kernel Bug People)
>Arrival-Date: Wed Apr 2 20:50:00 1997
>Originator: John Kohl
NetBSD Kernel Hackers `R` Us
System: NetBSD pattern.arlington-heights.ma.us 1.2D NetBSD 1.2D (PATTERN) #47: Wed Apr 2 22:08:07 EST 1997 firstname.lastname@example.org:/u4/sandbox/src/sys/arch/i386/compile/PATTERN i386
It is not possible to distinguish release 1.2 from 1.2.1. by
preprocessor symbols (e.g. the NetBSD.* series in <sys/param.h>.
This is Bad, particularly because there are incompatible changes to the
kernel internal interfaces for networking code; such interfaces are used
by third-party modules and building them for various NetBSD releases
from common sources is no longer possible.
Try to find some symbol to key off of for changes.
Add some symbol (e.g. NetBSD1_2_1) or bump the NetBSD date
symbol to reflect the change. (the latter is problematical due to the
parallel changes on -current and 1.2.1, since 1.2.1 post-dates some
other substantial changes in -current).
Future releases that change interfaces need to have something
programmers can use to determine the precise release.