Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys 1) Nuke NetBSD1_4 -- no point in perpetuating a bad ...



details:   https://anonhg.NetBSD.org/src/rev/c81d2449626c
branches:  trunk
changeset: 471679:c81d2449626c
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Apr 07 16:48:02 1999 +0000

description:
1) Nuke NetBSD1_4 -- no point in perpetuating a bad practice. Since it
   hasn't been seen by anyone yet, why encourage its use by defining it?
2) Indicate in a comment that the NetBSD define is now frozen, will
   never again be incremented, and may even be deprecated. Indicate
   yet again that all new code must use __NetBSD_Version__

diffstat:

 sys/sys/param.h |  16 +++++++++++-----
 1 files changed, 11 insertions(+), 5 deletions(-)

diffs (32 lines):

diff -r 1d01720275d3 -r c81d2449626c sys/sys/param.h
--- a/sys/sys/param.h   Wed Apr 07 15:28:01 1999 +0000
+++ b/sys/sys/param.h   Wed Apr 07 16:48:02 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.58 1999/04/02 03:08:02 perry Exp $ */
+/*     $NetBSD: param.h,v 1.59 1999/04/07 16:48:02 perry Exp $ */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -68,12 +68,18 @@
 #define __NetBSD_Version__  104010000  /* NetBSD 1.4A */
 
 /*
- * Historical NetBSD #defines -- new code should use
- * __NetBSD_Version__ instead.
+ * Historical NetBSD #define
+ *
+ * NetBSD 1.4 was the last release for which this value was incremented.
+ * The value is now permanently fixed at 199905. It will never be
+ * changed again.
+ *
+ * New code must use __NetBSD_Version__ instead, and should not even
+ * count on NetBSD being defined.
+ *
  */
 
-#define NetBSD 199907          /* NetBSD version (year & month). */
-#define NetBSD1_4 2            /* NetBSD 1.4A */
+#define NetBSD 199905          /* NetBSD version (year & month). */
 
 #ifndef NULL
 #define        NULL    0



Home | Main Index | Thread Index | Old Index