Subject: kern/3443: cannot distinguish 1.2 from 1.2.1
To: None <gnats-bugs@gnats.netbsd.org>
From: John Kohl <jtk@kolvir.arlington-heights.ma.us>
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
>Last-Modified:
>Originator:     John Kohl
>Organization:
NetBSD Kernel Hackers `R` Us
>Release:        1.2.1
>Environment:
System: NetBSD pattern.arlington-heights.ma.us 1.2D NetBSD 1.2D (PATTERN) #47: Wed Apr 2 22:08:07 EST 1997 jtk@pattern.arlington-heights.ma.us:/u4/sandbox/src/sys/arch/i386/compile/PATTERN i386


>Description:
	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.

>How-To-Repeat:
	Try to find some symbol to key off of for changes.
>Fix:
	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.
>Audit-Trail:
>Unformatted: