OPEN-OUTPUT-FILE was missing MERGE-PATHNAMES.
authorChris Hanson <org/chris-hanson/cph>
Mon, 10 Feb 1992 15:57:00 +0000 (15:57 +0000)
committerChris Hanson <org/chris-hanson/cph>
Mon, 10 Feb 1992 15:57:00 +0000 (15:57 +0000)
v7/src/runtime/fileio.scm

index 19cac904e7ef6a4378cfb85fe6d3ca16a99c1e11..36dda7389e16e9a74d23e62187b696f3292bcdbc 100644 (file)
@@ -1,8 +1,8 @@
 #| -*-Scheme-*-
 
-$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/fileio.scm,v 1.2 1991/11/26 07:05:49 cph Exp $
+$Header: /Users/cph/tmp/foo/mit-scheme/mit-scheme/v7/src/runtime/fileio.scm,v 1.3 1992/02/10 15:57:00 cph Exp $
 
-Copyright (c) 1991 Massachusetts Institute of Technology
+Copyright (c) 1991-92 Massachusetts Institute of Technology
 
 This material was developed by the Scheme project at the Massachusetts
 Institute of Technology, Department of Electrical Engineering and
@@ -109,7 +109,7 @@ MIT in each case. |#
     port))
 
 (define (open-output-file filename #!optional append?)
-  (let* ((pathname (->pathname filename))
+  (let* ((pathname (merge-pathnames filename))
         (channel
          (let ((filename (->namestring pathname)))
            (if (and (not (default-object? append?)) append?)