From: Chris Hanson Date: Sat, 17 May 2014 05:09:26 +0000 (-0700) Subject: Fix fencepost error thinko. X-Git-Tag: release-9.2.0~6 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=7bb1098415ce5cd568db21d0fca9e5e153b69f58;p=mit-scheme.git Fix fencepost error thinko. --- diff --git a/src/runtime/string.scm b/src/runtime/string.scm index 04b2d5f9e..e89ea748b 100644 --- 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)))