diff options
| author | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2005-08-31 08:10:28 +0000 |
|---|---|---|
| committer | Vsevolod Stakhov <vsevolod@FreeBSD.org> | 2005-08-31 08:10:28 +0000 |
| commit | 7eeb8daa5c80bc88f8ada48a021093afd3872e2e (patch) | |
| tree | a1dc796bc2051763e8e4ed5bac7f1cb2e8840467 /benchmarks/libmicro/files/patch-siglongjmp.c | |
| parent | 7e522fe32ecdddf1abc6c1cb8748a2d7cf8f46cc (diff) | |
Add two patches to make longjmp tests runable.
Submitted by: Mustabasic Reuf <reuf.mustabasic@gmail.com>
Obtained from: Opensolaris development forum
Diffstat (limited to 'benchmarks/libmicro/files/patch-siglongjmp.c')
| -rw-r--r-- | benchmarks/libmicro/files/patch-siglongjmp.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/benchmarks/libmicro/files/patch-siglongjmp.c b/benchmarks/libmicro/files/patch-siglongjmp.c new file mode 100644 index 000000000000..845305aefda1 --- /dev/null +++ b/benchmarks/libmicro/files/patch-siglongjmp.c @@ -0,0 +1,11 @@ +--- 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); + |
