David Lichteblau | 18 Jun 2012 17:49
Picon

master: brief_print: reset cur_lines

The branch "master" has been updated in SBCL:
       via  04c2366ba81081d3f19d8818f7366e280f11e7f2 (commit)
      from  109e6fe061f42387824bdc4abb977ff2d871d2c8 (commit)

- Log -----------------------------------------------------------------
commit 04c2366ba81081d3f19d8818f7366e280f11e7f2
Author: David Lichteblau <david <at> lichteblau.com>
Date:   Wed May 18 21:45:56 2011 +0200

    brief_print: reset cur_lines

    Otherwise, when running with QSHOW, the runtime stops printing
    after 5000 objects (for example for traps).
---
 src/runtime/print.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/src/runtime/print.c b/src/runtime/print.c
index f787cd7..5b66b4e 100644
--- a/src/runtime/print.c
+++ b/src/runtime/print.c
 <at>  <at>  -704,6 +704,7  <at>  <at>  void brief_print(lispobj obj)
     cur_depth = 0;
     max_depth = 1;
     max_lines = 5000;
+    cur_lines = 0;

     print_obj("", obj);
     putchar('\n');

(Continue reading)


Gmane