chiark
/
gitweb
/
~mdw
/
catacomb
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
90db641
)
rand/noise.c: Use `sigjmp_buf' to escape the freewheel generator.
author
Mark Wooding
<mdw@distorted.org.uk>
Sun, 15 May 2016 11:31:36 +0000
(12:31 +0100)
committer
Mark 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
patch
|
blob
|
blame
|
history
diff --git
a/rand/noise.c
b/rand/noise.c
index 3bece706e300efb1fdc5df5358a83125639c95c1..3969b4e441b03cc30cf5edaff4b44b3d2c6573e6 100644
(file)
--- 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
#ifdef USE_FREEWHEEL
-static jmp_buf fwjmp;
+static
sig
jmp_buf fwjmp;
static void fwalarm(int sig)
{
static void fwalarm(int sig)
{