Subject: kern/3443: cannot distinguish 1.2 from 1.2.1
To: None <>
From: John Kohl <>
List: netbsd-bugs
Date: 04/02/1997 23:46:02
>Number:         3443
>Category:       kern
>Synopsis:       cannot distinguish 1.2 from 1.2.1
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Apr  2 20:50:00 1997
>Originator:     John Kohl
NetBSD Kernel Hackers `R` Us
>Release:        1.2.1
System: NetBSD 1.2D NetBSD 1.2D (PATTERN) #47: Wed Apr 2 22:08:07 EST 1997 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.