brief_print: reset cur_lines
authorDavid Lichteblau <david@lichteblau.com>
Wed, 18 May 2011 19:45:56 +0000 (21:45 +0200)
committerDavid Lichteblau <david@lichteblau.com>
Mon, 18 Jun 2012 15:33:03 +0000 (17:33 +0200)
Otherwise, when running with QSHOW, the runtime stops printing
after 5000 objects (for example for traps).

src/runtime/print.c

index f787cd7..5b66b4e 100644 (file)
@@ -704,6 +704,7 @@ void brief_print(lispobj obj)
     cur_depth = 0;
     max_depth = 1;
     max_lines = 5000;
+    cur_lines = 0;
 
     print_obj("", obj);
     putchar('\n');