From: Chris Hanson Date: Thu, 28 Jan 1999 04:48:50 +0000 (+0000) Subject: Change RING-LIST to copy the value that it returns. X-Git-Tag: 20090517-FFI~4677 X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=217b9dddceda9c75d4aa6ef5ec843e3e77eb2e3d;p=mit-scheme.git Change RING-LIST to copy the value that it returns. --- diff --git a/v7/src/edwin/ring.scm b/v7/src/edwin/ring.scm index 65272cc61..9ea902868 100644 --- a/v7/src/edwin/ring.scm +++ b/v7/src/edwin/ring.scm @@ -1,6 +1,6 @@ ;;; -*-Scheme-*- ;;; -;;;$Id: ring.scm,v 1.11 1999/01/02 06:11:34 cph Exp $ +;;;$Id: ring.scm,v 1.12 1999/01/28 04:48:50 cph Exp $ ;;; ;;; Copyright (c) 1984, 1989-1999 Massachusetts Institute of Technology ;;; @@ -23,7 +23,7 @@ (declare (usual-integrations)) (define (ring-list ring) - (vector-ref ring 2)) + (list-copy (vector-ref ring 2))) (define make-ring) (define ring-size)