1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-14 03:10:47 +00:00
freebsd-ports/benchmarks/libmicro/files/patch-siglongjmp.c
Vsevolod Stakhov 7eeb8daa5c Add two patches to make longjmp tests runable.
Submitted by:	Mustabasic Reuf <reuf.mustabasic@gmail.com>
Obtained from:	Opensolaris development forum
2005-08-31 08:10:28 +00:00

12 lines
216 B
C

--- siglongjmp.c.orig Wed Aug 31 11:53:57 2005
+++ siglongjmp.c Wed Aug 31 11:55:14 2005
@@ -60,7 +60,7 @@
{
tsd_t *ts = (tsd_t *)tsd;
- int i = 0;
+ volatile int i = 0;
(void) sigsetjmp(ts->ts_env, 1);