Fixed a typo in EXT:GC-STATS that left statistics printing activated.
authorJuan Jose Garcia Ripoll <jjgarcia@jjgr-2.local>
Sun, 7 Feb 2010 11:17:35 +0000 (12:17 +0100)
committerJuan Jose Garcia Ripoll <jjgarcia@jjgr-2.local>
Sun, 7 Feb 2010 11:17:35 +0000 (12:17 +0100)
src/c/alloc_2.d

index 9b603eb..2a3007d 100755 (executable)
@@ -1172,11 +1172,11 @@ si_gc_stats(cl_object enable)
                 old_status = Ct;
         }
         if (enable == Cnil) {
-                GC_print_stats = 1;
+                GC_print_stats = 0;
                 cl_core.gc_stats = 0;
         } else {
                 cl_core.gc_stats = 1;
-                GC_print_stats = enable == @':full';
+                GC_print_stats = (enable == @':full');
         }
        if (cl_core.bytes_consed == Cnil) {
 #ifndef WITH_GMP