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:
f54ba65
)
Fix bug: trace was depending on a string being mutable when it wasn't.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 20 Jan 2018 03:58:07 +0000
(19:58 -0800)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 20 Jan 2018 03:58:07 +0000
(19:58 -0800)
src/runtime/advice.scm
patch
|
blob
|
history
diff --git
a/src/runtime/advice.scm
b/src/runtime/advice.scm
index f71f8c228c819122c9e9baff67d7c38a161c5fe5..656fb8e8eac98d22ebc8368b4d6e9c8d21ca617c 100644
(file)
--- a/
src/runtime/advice.scm
+++ b/
src/runtime/advice.scm
@@
-259,9
+259,9
@@
USA.
(write-truncated
(lambda (object width)
(let ((output (write-to-string object width)))
+ (write-string (cdr output) port)
(if (car output)
- (string-fill! (cdr output) #\. (- width 3) width))
- (write-string (cdr output) port)))))
+ (write-string "..." port))))))
(if (default-object? result)
(write-string "[Entering " port)
(begin