From 3a5a9d7dc98929e8db17e3e2652ecfd06bef0c67 Mon Sep 17 00:00:00 2001 Message-Id: <3a5a9d7dc98929e8db17e3e2652ecfd06bef0c67.1718438649.git.mdw@distorted.org.uk> From: Mark Wooding Date: Sun, 15 May 2016 12:31:36 +0100 Subject: [PATCH] rand/noise.c: Use `sigjmp_buf' to escape the freewheel generator. Organization: Straylight/Edgeware From: Mark Wooding I'd never noticed there was a separate type before. This shouldn't have been a surprise. --- rand/noise.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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) { -- [mdw]