Date: Sun, 1 Jun 2003 15:19:23 -0700 (PDT) From: Peter Wemm <peter@FreeBSD.org> To: Perforce Change Reviews <perforce@freebsd.org> Subject: PERFORCE change 32329 for review Message-ID: <200306012219.h51MJN5c075999@repoman.freebsd.org>
next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=32329 Change 32329 by peter@peter_hammer on 2003/06/01 15:19:22 GRRR. make jmpbuf be more compatable with libc_r Affected files ... .. //depot/projects/hammer/sys/amd64/include/setjmp.h#6 edit Differences ... ==== //depot/projects/hammer/sys/amd64/include/setjmp.h#6 (text+ko) ==== @@ -37,7 +37,7 @@ #include <sys/cdefs.h> -#define _JBLEN 22 /* Size of the jmp_buf on x86. */ +#define _JBLEN 11 /* Size of the jmp_buf on AMD64. */ /* * jmp_buf and sigjmp_buf are encapsulated in different structs to force @@ -45,9 +45,9 @@ * internally to avoid some run-time errors for mismatches. */ #if __BSD_VISIBLE || __POSIX_VISIBLE || __XSI_VISIBLE -typedef struct _sigjmp_buf { int _sjb[_JBLEN + 1]; } sigjmp_buf[1]; +typedef struct _sigjmp_buf { long _sjb[_JBLEN + 1]; } sigjmp_buf[1]; #endif -typedef struct _jmp_buf { int _jb[_JBLEN + 1]; } jmp_buf[1]; +typedef struct _jmp_buf { long _jb[_JBLEN + 1]; } jmp_buf[1]; #endif /* !_MACHINE_SETJMP_H_ */
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306012219.h51MJN5c075999>