From: Taylor R. Campbell Date: Fri, 30 Mar 2007 08:17:18 +0000 (+0000) Subject: Use XSUBSTRING-MOVE! in WRITE-SUBSTRING:EXTERNAL-SUBSTRING, not X-Git-Tag: 20090517-FFI~702 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=8d1030c25e6fffda34abbea9c4bafb5741176c9c;p=mit-scheme.git Use XSUBSTRING-MOVE! in WRITE-SUBSTRING:EXTERNAL-SUBSTRING, not SUBSTRING-MOVE! -- the latter does not accept external strings. --- diff --git a/v7/src/runtime/genio.scm b/v7/src/runtime/genio.scm index d598b8479..5d5431e38 100644 --- a/v7/src/runtime/genio.scm +++ b/v7/src/runtime/genio.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: genio.scm,v 1.50 2007/01/07 09:11:07 cph Exp $ +$Id: genio.scm,v 1.51 2007/03/30 08:17:18 riastradh Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -1062,7 +1062,7 @@ USA. (let loop ((i start)) (if (< i end) (let ((n (min (- end i) #x1000))) - (substring-move! string i (+ i n) bounce 0) + (xsubstring-move! string i (+ i n) bounce 0) (let ((m (write-substring:string ob bounce 0 n))) (cond ((not m) (and (> i start)