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:
898345d
)
Fix fencepost error thinko.
author
Chris Hanson
<org/chris-hanson/cph>
Sat, 17 May 2014 05:09:26 +0000
(22:09 -0700)
committer
Chris Hanson
<org/chris-hanson/cph>
Sat, 17 May 2014 05:09:26 +0000
(22:09 -0700)
src/runtime/string.scm
patch
|
blob
|
history
diff --git
a/src/runtime/string.scm
b/src/runtime/string.scm
index 04b2d5f9e2a8fbdc3b33b9e902778b2f913ff709..e89ea748b41e805e287cfeac468d984a0f060f36 100644
(file)
--- a/
src/runtime/string.scm
+++ b/
src/runtime/string.scm
@@
-180,8
+180,6
@@
USA.
(begin
(string-set! string end #\nul)
(set-string-length! string end)))
- (string-set! string end #\nul)
- (set-string-length! string end)
(let ((new-gc-length (fix:+ 2 (fix:lsh end %octets->words-shift)))
(old-gc-length (system-vector-length string)))
(let ((delta (fix:- old-gc-length new-gc-length)))