CVS commit: [netbsd-8] src/sys/sys

2023-04-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr  1 16:43:17 UTC 2023

Modified Files:
src/sys/sys [netbsd-8]: common_limits.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1819):

sys/sys/common_limits.h: revision 1.3

Fix wrong scoping of {U,}LLONG_MAX. Final case, I think.
PR 53298 from Roberto E. Vargas Caballero.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.12.1 src/sys/sys/common_limits.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.



CVS commit: [netbsd-8] src/sys/sys

2023-04-01 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sat Apr  1 16:43:17 UTC 2023

Modified Files:
src/sys/sys [netbsd-8]: common_limits.h

Log Message:
Pull up following revision(s) (requested by riastradh in ticket #1819):

sys/sys/common_limits.h: revision 1.3

Fix wrong scoping of {U,}LLONG_MAX. Final case, I think.
PR 53298 from Roberto E. Vargas Caballero.


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.2.12.1 src/sys/sys/common_limits.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/common_limits.h
diff -u src/sys/sys/common_limits.h:1.2 src/sys/sys/common_limits.h:1.2.12.1
--- src/sys/sys/common_limits.h:1.2	Tue Aug 19 15:46:46 2014
+++ src/sys/sys/common_limits.h	Sat Apr  1 16:43:17 2023
@@ -1,4 +1,4 @@
-/*	$NetBSD: common_limits.h,v 1.2 2014/08/19 15:46:46 matt Exp $	*/
+/*	$NetBSD: common_limits.h,v 1.2.12.1 2023/04/01 16:43:17 martin Exp $	*/
 
 /*-
  * Copyright (c) 2014 The NetBSD Foundation, Inc.
@@ -50,10 +50,6 @@
 #define	LONG_MAX	__LONG_MAX__		/* max value for a long */
 #define	ULONG_MAX	(2UL*LONG_MAX+1UL)	/* max unsigned long */
 
-#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
-defined(_NETBSD_SOURCE)
-#define	SSIZE_MAX	LONG_MAX	/* max value for a ssize_t */
-
 #if defined(_ISOC99_SOURCE) || (__STDC_VERSION__ - 0) >= 199901L || \
 defined(_NETBSD_SOURCE)
 #define	LLONG_MIN	(-__LONG_LONG_MAX__-1LL) /* min signed long long */
@@ -61,6 +57,10 @@
 #define	ULLONG_MAX	(2ULL*LLONG_MAX+1ULL)	/* max unsigned long long */
 #endif
 
+#if defined(_POSIX_C_SOURCE) || defined(_XOPEN_SOURCE) || \
+defined(_NETBSD_SOURCE)
+#define	SSIZE_MAX	LONG_MAX	/* max value for a ssize_t */
+
 #if defined(_NETBSD_SOURCE)
 #define	SSIZE_MIN	LONG_MIN	/* min value for a ssize_t */
 #define	SIZE_T_MAX	ULONG_MAX	/* max value for a size_t */



CVS commit: [netbsd-8] src/sys/sys

2019-06-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jun  2 08:25:25 UTC 2019

Modified Files:
src/sys/sys [netbsd-8]: param.h

Log Message:
Welcome to 8.1_STABLE


To generate a diff of this commit:
cvs rdiff -u -r1.542.2.7 -r1.542.2.8 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/param.h
diff -u src/sys/sys/param.h:1.542.2.7 src/sys/sys/param.h:1.542.2.8
--- src/sys/sys/param.h:1.542.2.7	Fri May 31 08:43:59 2019
+++ src/sys/sys/param.h	Sun Jun  2 08:25:25 2019
@@ -1,4 +1,4 @@
-/*	$NetBSD: param.h,v 1.542.2.7 2019/05/31 08:43:59 martin Exp $	*/
+/*	$NetBSD: param.h,v 1.542.2.8 2019/06/02 08:25:25 martin Exp $	*/
 
 /*-
  * Copyright (c) 1982, 1986, 1989, 1993
@@ -67,7 +67,7 @@
  *	2.99.9		(299000900)
  */
 
-#define	__NetBSD_Version__	80100	/* NetBSD 8.1 */
+#define	__NetBSD_Version__	80100	/* NetBSD 8.1_STABLE */
 
 #define __NetBSD_Prereq__(M,m,p) (M) * 1) + \
 (m) * 100) + (p) * 100) <= __NetBSD_Version__)



CVS commit: [netbsd-8] src/sys/sys

2019-06-02 Thread Martin Husemann
Module Name:src
Committed By:   martin
Date:   Sun Jun  2 08:25:25 UTC 2019

Modified Files:
src/sys/sys [netbsd-8]: param.h

Log Message:
Welcome to 8.1_STABLE


To generate a diff of this commit:
cvs rdiff -u -r1.542.2.7 -r1.542.2.8 src/sys/sys/param.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.