mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-16 16:00:55 -04:00
14 lines
465 B
C
14 lines
465 B
C
$NetBSD: patch-vm__trace.c,v 1.1 2015/12/30 14:59:42 taca Exp $
|
|
|
|
--- vm_trace.c.orig 2015-12-14 02:52:14.000000000 +0000
|
|
+++ vm_trace.c
|
|
@@ -389,7 +389,7 @@ rb_suppress_tracing(VALUE (*func)(VALUE)
|
|
volatile int raised;
|
|
volatile int outer_state;
|
|
VALUE result = Qnil;
|
|
- rb_thread_t *th = GET_THREAD();
|
|
+ rb_thread_t * volatile th = GET_THREAD();
|
|
int state;
|
|
const int tracing = th->trace_arg ? 1 : 0;
|
|
rb_trace_arg_t dummy_trace_arg;
|