Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/lib/libc/arch/sparc64/gen Fix previous: the way we calculate...
details: https://anonhg.NetBSD.org/src/rev/30ab083892c3
branches: trunk
changeset: 764683:30ab083892c3
user: martin <martin%NetBSD.org@localhost>
date: Sat Apr 30 23:39:08 2011 +0000
description:
Fix previous: the way we calculate, we need to test the size of sigjmp_buf
diffstat:
lib/libc/arch/sparc64/gen/longjmp.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r f8191a560b6e -r 30ab083892c3 lib/libc/arch/sparc64/gen/longjmp.c
--- a/lib/libc/arch/sparc64/gen/longjmp.c Sat Apr 30 23:30:27 2011 +0000
+++ b/lib/libc/arch/sparc64/gen/longjmp.c Sat Apr 30 23:39:08 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: longjmp.c,v 1.5 2011/04/30 23:30:27 martin Exp $ */
+/* $NetBSD: longjmp.c,v 1.6 2011/04/30 23:39:08 martin Exp $ */
/*-
* Copyright (c) 2003 The NetBSD Foundation, Inc.
@@ -56,7 +56,7 @@
*/
__CTASSERT(0x68 == offsetof(__jmp_buf_regs_t,save_mask)+
sizeof(struct sigcontext));
-__CTASSERT(sizeof(jmp_buf) >= sizeof(__jmp_buf_regs_t) +
+__CTASSERT(sizeof(sigjmp_buf) >= sizeof(__jmp_buf_regs_t) +
sizeof(struct sigcontext));
void
Home |
Main Index |
Thread Index |
Old Index