summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--signal.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 929c4f97..fa3af81a 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
2015-05-01 Kaz Kylheku <kaz@kylheku.com>
+ * signal.h (sig_save_disable): Bugfix: macro enabling
+ rather than disabling async signals.
+
+2015-05-01 Kaz Kylheku <kaz@kylheku.com>
+
Fix corruption triggered by extended gc disabling.
The issue is that when gc is disabled, the gc function
diff --git a/signal.h b/signal.h
index 9f8653bf..036475e7 100644
--- a/signal.h
+++ b/signal.h
@@ -44,7 +44,7 @@
#define sig_save_disable \
do { \
int sig_save = async_sig_enabled; \
- async_sig_enabled = 1; \
+ async_sig_enabled = 0; \
{ \
do ; while (0)