Module Name: src
Committed By: christos
Date: Fri Jan 27 15:41:02 UTC 2012
Modified Files:
src/sys/arch/amd64/include: int_limits.h
Log Message:
PR/45878: Nick Hudson: SIG_ATOMIC_{MAX,MIN} wrong for sig_atomic_t on amd64
sig_atomic_t is an int on amd64, put the proper limits there
To generate a diff of this commit:
cvs rdiff -u -r1.7 -r1.8 src/sys/arch/amd64/include/int_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/arch/amd64/include/int_limits.h
diff -u src/sys/arch/amd64/include/int_limits.h:1.7 src/sys/arch/amd64/include/int_limits.h:1.8
--- src/sys/arch/amd64/include/int_limits.h:1.7 Sat Oct 25 20:08:15 2008
+++ src/sys/arch/amd64/include/int_limits.h Fri Jan 27 10:41:02 2012
@@ -1,4 +1,4 @@
-/* $NetBSD: int_limits.h,v 1.7 2008/10/26 00:08:15 mrg Exp $ */
+/* $NetBSD: int_limits.h,v 1.8 2012/01/27 15:41:02 christos Exp $ */
/*-
* Copyright (c) 2001 The NetBSD Foundation, Inc.
@@ -120,8 +120,8 @@
#define PTRDIFF_MAX 0x7fffffffffffffffL /* ptrdiff_t */
/* limits of sig_atomic_t */
-#define SIG_ATOMIC_MIN (-0x7fffffffffffffffL-1) /* sig_atomic_t */
-#define SIG_ATOMIC_MAX 0x7fffffffffffffffL /* sig_atomic_t */
+#define SIG_ATOMIC_MIN (-0x7fffffff-1) /* sig_atomic_t */
+#define SIG_ATOMIC_MAX 0x7fffffff /* sig_atomic_t */
/* limit of size_t */
#define SIZE_MAX 0xffffffffffffffffUL /* size_t */