From 7bb1098415ce5cd568db21d0fca9e5e153b69f58 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Fri, 16 May 2014 22:09:26 -0700 Subject: [PATCH] Fix fencepost error thinko. --- src/runtime/string.scm | 2 -- 1 file changed, 2 deletions(-) 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))) -- 2.25.1