Source-Changes-HG archive

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

[src/trunk]: src/sys/arch add missing SSIZE_MIN



details:   https://anonhg.NetBSD.org/src/rev/fa7d4304fb13
branches:  trunk
changeset: 786002:fa7d4304fb13
user:      christos <christos%NetBSD.org@localhost>
date:      Thu Apr 11 00:57:34 2013 +0000

description:
add missing SSIZE_MIN

diffstat:

 sys/arch/alpha/include/limits.h   |  3 ++-
 sys/arch/amd64/include/limits.h   |  3 ++-
 sys/arch/arm/include/limits.h     |  3 ++-
 sys/arch/hppa/include/limits.h    |  3 ++-
 sys/arch/i386/include/limits.h    |  3 ++-
 sys/arch/ia64/include/limits.h    |  3 ++-
 sys/arch/m68k/include/limits.h    |  3 ++-
 sys/arch/mips/include/limits.h    |  4 +++-
 sys/arch/powerpc/include/limits.h |  4 +++-
 sys/arch/sh3/include/limits.h     |  3 ++-
 sys/arch/sparc/include/limits.h   |  3 ++-
 sys/arch/vax/include/limits.h     |  3 ++-
 12 files changed, 26 insertions(+), 12 deletions(-)

diffs (210 lines):

diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/alpha/include/limits.h
--- a/sys/arch/alpha/include/limits.h   Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/alpha/include/limits.h   Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: limits.h,v 1.14 2012/03/28 17:03:27 christos Exp $ */
+/* $NetBSD: limits.h,v 1.15 2013/04/11 00:57:34 christos Exp $ */
 
 /*
  * Copyright (c) 1988, 1993
@@ -76,6 +76,7 @@
 #endif
 
 #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 */
 
 /* Quads and longs are the same on the alpha */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/amd64/include/limits.h
--- a/sys/arch/amd64/include/limits.h   Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/amd64/include/limits.h   Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.12 2012/03/28 17:03:28 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.13 2013/04/11 00:57:34 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -68,6 +68,7 @@
 #endif
 
 #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 */
 
 #define        UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/arm/include/limits.h
--- a/sys/arch/arm/include/limits.h     Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/arm/include/limits.h     Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.12 2012/03/28 17:03:28 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.13 2013/04/11 00:57:34 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -66,6 +66,7 @@
 #endif
 
 #if defined(_NETBSD_SOURCE)
+#define        SSIZE_MIN       LONG_MIN        /* min value for a ssize_t */
 #define        SIZE_T_MAX      LONG_MAX        /* max value for a size_t */
 
 #define        UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/hppa/include/limits.h
--- a/sys/arch/hppa/include/limits.h    Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/hppa/include/limits.h    Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.14 2012/03/28 17:03:29 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.15 2013/04/11 00:57:34 christos Exp $     */
 
 /*     $OpenBSD: limits.h,v 1.2 2000/07/31 20:06:02 millert Exp $      */
 
@@ -101,6 +101,7 @@
 #endif
 
 #if defined(_NETBSD_SOURCE)
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define SIZE_T_MAX      UINT_MAX        /* max value for a size_t */
 
 #define UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/i386/include/limits.h
--- a/sys/arch/i386/include/limits.h    Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/i386/include/limits.h    Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.23 2012/03/28 17:03:29 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.24 2013/04/11 00:57:35 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -66,6 +66,7 @@
 #endif
 
 #if defined(_NETBSD_SOURCE)
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define        SIZE_T_MAX      UINT_MAX        /* max value for a size_t */
 
 #define        UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/ia64/include/limits.h
--- a/sys/arch/ia64/include/limits.h    Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/ia64/include/limits.h    Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.6 2012/03/28 17:03:29 christos Exp $      */
+/*     $NetBSD: limits.h,v 1.7 2013/04/11 00:57:35 christos Exp $      */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -65,6 +65,7 @@
 #endif
 
 #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 */
 
 /* GCC requires that quad constants be written as expressions. */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/m68k/include/limits.h
--- a/sys/arch/m68k/include/limits.h    Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/m68k/include/limits.h    Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.21 2012/03/28 17:03:30 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.22 2013/04/11 00:57:35 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -66,6 +66,7 @@
 #endif
 
 #if defined(_NETBSD_SOURCE)
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define SIZE_T_MAX     UINT_MAX        /* max value for a size_t */
 
 #define        UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/mips/include/limits.h
--- a/sys/arch/mips/include/limits.h    Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/mips/include/limits.h    Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.24 2012/03/28 17:03:30 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.25 2013/04/11 00:57:35 christos Exp $     */
 
 /*
  * Copyright (c) 1988, 1993
@@ -87,8 +87,10 @@
 
 #if defined(_NETBSD_SOURCE)
 #ifdef _LP64
+#define        SSIZE_MIN       LONG_MIN        /* min value for a ssize_t */
 #define        SIZE_T_MAX      ULONG_MAX       /* max value for a size_t */
 #else
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define        SIZE_T_MAX      UINT_MAX        /* max value for a size_t */
 #endif
 
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/powerpc/include/limits.h
--- a/sys/arch/powerpc/include/limits.h Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/powerpc/include/limits.h Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.17 2012/03/28 17:03:31 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.18 2013/04/11 00:57:36 christos Exp $     */
 
 /*
  * Copyright (c) 1988, 1993
@@ -87,8 +87,10 @@
 
 #if defined(_NETBSD_SOURCE)
 #ifdef _LP64
+#define        SSIZE_MIN       LONG_MIN        /* min value for a ssize_t */
 #define        SIZE_T_MAX      ULONG_MAX       /* max value for a size_t */
 #else
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define        SIZE_T_MAX      UINT_MAX        /* max value for a size_t */
 #endif
 
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/sh3/include/limits.h
--- a/sys/arch/sh3/include/limits.h     Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/sh3/include/limits.h     Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.12 2012/03/28 17:03:31 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.13 2013/04/11 00:57:36 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -66,6 +66,7 @@
 #endif
 
 #if defined(_NETBSD_SOURCE)
+#define        SSIZE_MIN       INT_MIN         /* min value for a ssize_t */
 #define        SIZE_T_MAX      UINT_MAX        /* max value for a size_t */
 
 #define        UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/sparc/include/limits.h
--- a/sys/arch/sparc/include/limits.h   Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/sparc/include/limits.h   Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.20 2012/03/28 17:03:31 christos Exp $ */
+/*     $NetBSD: limits.h,v 1.21 2013/04/11 00:57:36 christos Exp $ */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -72,6 +72,7 @@
 #endif
 
 #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 */
 
 /* GCC requires that quad constants be written as expressions. */
diff -r 07fdc2cbb45f -r fa7d4304fb13 sys/arch/vax/include/limits.h
--- a/sys/arch/vax/include/limits.h     Wed Apr 10 22:22:16 2013 +0000
+++ b/sys/arch/vax/include/limits.h     Thu Apr 11 00:57:34 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: limits.h,v 1.19 2012/03/28 17:03:31 christos Exp $     */
+/*     $NetBSD: limits.h,v 1.20 2013/04/11 00:57:36 christos Exp $     */
 
 /*
  * Copyright (c) 1988 The Regents of the University of California.
@@ -66,6 +66,7 @@
 #endif
 
 #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 */
 
 #define UQUAD_MAX       0xffffffffffffffffULL           /* max unsigned quad */



Home | Main Index | Thread Index | Old Index