From: Chris Hanson Date: Mon, 8 Jan 2007 03:57:22 +0000 (+0000) Subject: Fix bug: GET-OUTPUT-STRING! would always return a null string. X-Git-Tag: 20090517-FFI~812 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=c54fecb37185f5f3db4ee0c7c5a8f7ca665da053;p=mit-scheme.git Fix bug: GET-OUTPUT-STRING! would always return a null string. --- diff --git a/v7/src/runtime/strout.scm b/v7/src/runtime/strout.scm index c6dbc47b0..8144a30d6 100644 --- a/v7/src/runtime/strout.scm +++ b/v7/src/runtime/strout.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: strout.scm,v 14.27 2007/01/05 21:19:28 cph Exp $ +$Id: strout.scm,v 14.28 2007/01/08 03:57:22 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -127,11 +127,12 @@ USA. (lambda () (if chars (let ((s chars)) + (set-string-maximum-length! s index) (set! chars #f) (set! index 0) - (set-string-maximum-length! s index) s) (make-string 0))))) (lambda () (without-interrupts - (lambda () index)))))) \ No newline at end of file + (lambda () + index)))))) \ No newline at end of file