mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-08-05 18:58:55 -04:00
18 lines
587 B
C
18 lines
587 B
C
$NetBSD: patch-eval__error.c,v 1.1 2015/12/30 14:59:42 taca Exp $
|
|
|
|
--- eval_error.c.orig 2015-10-31 01:22:51.000000000 +0000
|
|
+++ eval_error.c
|
|
@@ -80,9 +80,9 @@ static void
|
|
error_print(void)
|
|
{
|
|
volatile VALUE errat = Qundef;
|
|
- rb_thread_t *th = GET_THREAD();
|
|
- VALUE errinfo = th->errinfo;
|
|
- int raised_flag = th->raised_flag;
|
|
+ rb_thread_t * volatile th = GET_THREAD();
|
|
+ volatile VALUE errinfo = th->errinfo;
|
|
+ volatile int raised_flag = th->raised_flag;
|
|
volatile VALUE eclass = Qundef, e = Qundef;
|
|
const char *volatile einfo;
|
|
volatile long elen;
|