diff options
author | Jarkko Hietaniemi <jhi@iki.fi> | 2014-12-06 09:04:49 -0500 |
---|---|---|
committer | Jarkko Hietaniemi <jhi@iki.fi> | 2014-12-06 14:30:55 -0500 |
commit | 0c87ebb84f6823273645a50b13edb9a188c7e41c (patch) | |
tree | 2d63dc0060432e96278ed8d5733abb89a9b964b6 /dist/threads | |
parent | 3f39ca90d441ea8c46643321eda2a33ab51d0246 (diff) | |
download | perl-0c87ebb84f6823273645a50b13edb9a188c7e41c.tar.gz |
Variables possibly clobbered by longjmp/vfork.
(my_perl in the line 480 has the same problem, but messier to fix.)
Diffstat (limited to 'dist/threads')
-rw-r--r-- | dist/threads/threads.xs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/dist/threads/threads.xs b/dist/threads/threads.xs index 5b44a38ef0..3bbca6580e 100644 --- a/dist/threads/threads.xs +++ b/dist/threads/threads.xs @@ -470,10 +470,10 @@ S_ithread_run(void * arg) { ithread *thread = (ithread *)arg; int jmp_rc = 0; - I32 oldscope; + volatile I32 oldscope; volatile int exit_app = 0; /* Thread terminated using 'exit' */ volatile int exit_code = 0; - int died = 0; /* Thread terminated abnormally */ + volatile int died = 0; /* Thread terminated abnormally */ dJMPENV; |