FreeBSD Bugzilla – Attachment 105185 Details for
Bug 145590
[kernel] [patch] SIG_ATOMIC_{MIN,MAX} does not match sig_atomic_t on 64-bit archs
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 2.72 KB, created by
Peter Jeremy
on 2010-04-09 22:20:01 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
Peter Jeremy
Created:
2010-04-09 22:20:01 UTC
Size:
2.72 KB
patch
obsolete
>Index: amd64/include/_stdint.h >=================================================================== >RCS file: /usr/ncvs/src/sys/amd64/include/_stdint.h,v >retrieving revision 1.3 >diff -u -r1.3 _stdint.h >--- amd64/include/_stdint.h 18 May 2004 16:04:56 -0000 1.3 >+++ amd64/include/_stdint.h 9 Apr 2010 20:52:31 -0000 >@@ -150,8 +150,8 @@ > #define PTRDIFF_MAX INT64_MAX > > /* Limits of sig_atomic_t. */ >-#define SIG_ATOMIC_MIN INT32_MIN >-#define SIG_ATOMIC_MAX INT32_MAX >+#define SIG_ATOMIC_MIN INT64_MIN >+#define SIG_ATOMIC_MAX INT64_MAX > > /* Limit of size_t. */ > #define SIZE_MAX UINT64_MAX >Index: arm/include/signal.h >=================================================================== >RCS file: /usr/ncvs/src/sys/arm/include/signal.h,v >retrieving revision 1.7 >diff -u -r1.7 signal.h >--- arm/include/signal.h 20 Aug 2005 16:44:40 -0000 1.7 >+++ arm/include/signal.h 9 Apr 2010 20:52:31 -0000 >@@ -37,7 +37,7 @@ > > #include <sys/cdefs.h> > >-typedef long sig_atomic_t; >+typedef int sig_atomic_t; > > #if __BSD_VISIBLE > >Index: ia64/include/_stdint.h >=================================================================== >RCS file: /usr/ncvs/src/sys/ia64/include/_stdint.h,v >retrieving revision 1.2 >diff -u -r1.2 _stdint.h >--- ia64/include/_stdint.h 18 May 2004 16:04:57 -0000 1.2 >+++ ia64/include/_stdint.h 9 Apr 2010 20:52:31 -0000 >@@ -150,8 +150,8 @@ > #define PTRDIFF_MAX INT64_MAX > > /* Limits of sig_atomic_t. */ >-#define SIG_ATOMIC_MIN INT32_MIN >-#define SIG_ATOMIC_MAX INT32_MAX >+#define SIG_ATOMIC_MIN INT64_MIN >+#define SIG_ATOMIC_MAX INT64_MAX > > /* Limit of size_t. */ > #define SIZE_MAX UINT64_MAX >Index: sparc64/include/_stdint.h >=================================================================== >RCS file: /usr/ncvs/src/sys/sparc64/include/_stdint.h,v >retrieving revision 1.2 >diff -u -r1.2 _stdint.h >--- sparc64/include/_stdint.h 18 May 2004 16:04:57 -0000 1.2 >+++ sparc64/include/_stdint.h 9 Apr 2010 20:52:26 -0000 >@@ -150,8 +150,8 @@ > #define PTRDIFF_MAX INT64_MAX > > /* Limits of sig_atomic_t. */ >-#define SIG_ATOMIC_MIN INT32_MIN >-#define SIG_ATOMIC_MAX INT32_MAX >+#define SIG_ATOMIC_MIN INT64_MIN >+#define SIG_ATOMIC_MAX INT64_MAX > > /* Limit of size_t. */ > #define SIZE_MAX UINT64_MAX >Index: sun4v/include/_stdint.h >=================================================================== >RCS file: /usr/ncvs/src/sys/sun4v/include/_stdint.h,v >retrieving revision 1.1 >diff -u -r1.1 _stdint.h >--- sun4v/include/_stdint.h 5 Oct 2006 06:14:25 -0000 1.1 >+++ sun4v/include/_stdint.h 9 Apr 2010 20:52:31 -0000 >@@ -150,8 +150,8 @@ > #define PTRDIFF_MAX INT64_MAX > > /* Limits of sig_atomic_t. */ >-#define SIG_ATOMIC_MIN INT32_MIN >-#define SIG_ATOMIC_MAX INT32_MAX >+#define SIG_ATOMIC_MIN INT64_MIN >+#define SIG_ATOMIC_MAX INT64_MAX > > /* Limit of size_t. */ > #define SIZE_MAX UINT64_MAX
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 145590
: 105185