pkgsrc/benchmarks/libmicro/patches/patch-ag
jym 2367213831 Import libMicro 0.4.0.
LibMicro is a portable set of microbenchmarks that many Solaris engineers
used during Solaris 10 development to measure the performance of various
system and library calls. LibMicro was developed by Bart Smaalders and
Phil Harman as part of their "If Linux is faster it's a Solaris bug
performance" campaign.
2009-11-22 00:45:54 +00:00

13 lines
287 B
Text

$NetBSD: patch-ag,v 1.1.1.1 2009/11/22 00:45:54 jym Exp $
--- longjmp.c.orig 2007-07-02 23:17:45.000000000 +0200
+++ longjmp.c
@@ -51,7 +51,7 @@ benchmark_init()
int
benchmark(void *tsd, result_t *res)
{
- int i = 0;
+ volatile int i = 0;
jmp_buf env;
(void) setjmp(env);