;;;; ports.test --- test suite for Guile I/O ports -*- scheme -*-
;;;; Jim Blandy <jimb@red-bean.com> --- May 1999
;;;;
-;;;; Copyright (C) 1999, 2001 Free Software Foundation, Inc.
+;;;; Copyright (C) 1999, 2001, 2004 Free Software Foundation, Inc.
;;;;
;;;; This program is free software; you can redistribute it and/or modify
;;;; it under the terms of the GNU General Public License as published by
(string-ref text 0))))))
;; seeking an output string.
- (let* ((text "123456789")
+ (let* ((text (string-copy "123456789"))
(len (string-length text))
(result (call-with-output-string
(lambda (p)