Source-Changes-HG archive

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

[src/netbsd-1-4]: src/sys/sys sync to revision 1.59



details:   https://anonhg.NetBSD.org/src/rev/98e8eb13b882
branches:  netbsd-1-4
changeset: 468107:98e8eb13b882
user:      perry <perry%NetBSD.org@localhost>
date:      Wed Apr 07 16:52:18 1999 +0000

description:
sync to revision 1.59

original commit message:
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 230d201b3740 -r 98e8eb13b882 sys/sys/param.h
--- a/sys/sys/param.h   Wed Apr 07 16:37:50 1999 +0000
+++ b/sys/sys/param.h   Wed Apr 07 16:52:18 1999 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: param.h,v 1.56.2.1 1999/04/02 03:02:19 perry Exp $     */
+/*     $NetBSD: param.h,v 1.56.2.2 1999/04/07 16:52:18 perry Exp $     */
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -68,12 +68,18 @@
 #define __NetBSD_Version__  104000000  /* NetBSD 1.4 */
 
 /*
- * 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 199904          /* NetBSD version (year & month). */
-#define NetBSD1_4 1            /* NetBSD 1.4 */
+#define NetBSD 199905          /* NetBSD version (year & month). */
 
 #ifndef NULL
 #define        NULL    0



Home | Main Index | Thread Index | Old Index