From: Mark Wooding Date: Sun, 15 May 2016 11:31:36 +0000 (+0100) Subject: rand/noise.c: Use `sigjmp_buf' to escape the freewheel generator. X-Git-Tag: 2.2.2~8 X-Git-Url: https://www.chiark.greenend.org.uk/ucgi/~mdw/git/catacomb/commitdiff_plain/3a5a9d7dc98929e8db17e3e2652ecfd06bef0c67 rand/noise.c: Use `sigjmp_buf' to escape the freewheel generator. I'd never noticed there was a separate type before. This shouldn't have been a surprise. --- diff --git a/rand/noise.c b/rand/noise.c index 3bece706..3969b4e4 100644 --- a/rand/noise.c +++ b/rand/noise.c @@ -365,7 +365,7 @@ int noise_filter(rand_pool *r, int good, const char *c) #ifdef USE_FREEWHEEL -static jmp_buf fwjmp; +static sigjmp_buf fwjmp; static void fwalarm(int sig) {