Module Name: src
Committed By: martin
Date: Sat Apr 30 23:39:08 UTC 2011
Modified Files:
src/lib/libc/arch/sparc64/gen: longjmp.c
Log Message:
Fix previous: the way we calculate, we need to test the size of sigjmp_buf
To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/lib/libc/arch/sparc64/gen/longjmp.c
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/lib/libc/arch/sparc64/gen/longjmp.c
diff -u src/lib/libc/arch/sparc64/gen/longjmp.c:1.5 src/lib/libc/arch/sparc64/gen/longjmp.c:1.6
--- src/lib/libc/arch/sparc64/gen/longjmp.c:1.5 Sat Apr 30 23:30:27 2011
+++ src/lib/libc/arch/sparc64/gen/longjmp.c Sat Apr 30 23:39:08 2011
@@ -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