rand/noise.c: Use `sigjmp_buf' to escape the freewheel generator.
authorMark Wooding <mdw@distorted.org.uk>
Sun, 15 May 2016 11:31:36 +0000 (12:31 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Mon, 16 May 2016 08:20:02 +0000 (09:20 +0100)
I'd never noticed there was a separate type before.  This shouldn't have
been a surprise.

rand/noise.c

index 3bece70..3969b4e 100644 (file)
@@ -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)
 {