* debug.c (scm_debug_options): Bugfix: Set the value of
authorMikael Djurfeldt <djurfeldt@nada.kth.se>
Fri, 13 Nov 1998 15:58:00 +0000 (15:58 +0000)
committerMikael Djurfeldt <djurfeldt@nada.kth.se>
Fri, 13 Nov 1998 15:58:00 +0000 (15:58 +0000)
scm_stack_checking_enabled_p after setting debug options;
#include "stackchk.h".  (Thanks to Richard Polton.)

libguile/ChangeLog
libguile/debug.c

index 6165434..af711f0 100644 (file)
@@ -1,3 +1,9 @@
+1998-11-14  Mikael Djurfeldt  <mdj@mdj.nada.kth.se>
+
+       * debug.c (scm_debug_options): Bugfix: Set the value of
+       scm_stack_checking_enabled_p after setting debug options;
+       #include "stackchk.h".  (Thanks to Richard Polton.)
+
 1998-11-13  Radey Shouman  <rshouman@metro2000.com>
 
        * unif.c (scm_array_contents): removed unnecessary test for 0
index 507097b..ad5ff80 100644 (file)
@@ -46,6 +46,7 @@
 #include <stdio.h>
 #include "_scm.h"
 #include "eval.h"
+#include "stackchk.h"
 #include "throw.h"
 #include "genio.h"
 #include "macros.h"
@@ -85,6 +86,7 @@ scm_debug_options (setting)
     }
 #endif
   SCM_RESET_DEBUG_MODE;
+  scm_stack_checking_enabled_p = SCM_STACK_CHECKING_P;
   scm_debug_eframe_size = 2 * SCM_N_FRAMES;
   SCM_ALLOW_INTS
   return ans;