projects
/
mit-scheme.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7c564c1
)
Fix bug: incorrect assumption of mutability.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 6 May 2017 06:18:16 +0000
(23:18 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 6 May 2017 06:18:16 +0000
(23:18 -0700)
src/runtime/dbgutl.scm
patch
|
blob
|
history
diff --git
a/src/runtime/dbgutl.scm
b/src/runtime/dbgutl.scm
index 50e6512ab2da182d88911e473c298333f34f5d89..2edadb2ba9468d45d460116afe8edbc6e961ca3f 100644
(file)
--- a/
src/runtime/dbgutl.scm
+++ b/
src/runtime/dbgutl.scm
@@
-94,8
+94,9
@@
USA.
(parameterize* (list (cons current-output-port port))
thunk)))))
(if (and (car x) (> length 4))
- (string-copy! (cdr x) (- length 4) " ..."))
- (cdr x))))
+ (string-append (string-slice (cdr x) 0 (- length 4))
+ " ...")
+ (cdr x)))))
(define (show-frames environment depth port)
(debugger-presentation port