From: Chris Hanson <org/chris-hanson/cph>
Date: Mon, 10 Feb 1992 15:57:00 +0000 (+0000)
Subject: OPEN-OUTPUT-FILE was missing MERGE-PATHNAMES.
X-Git-Tag: 20090517-FFI~9814
X-Git-Url: https://birchwood-abbey.net/git?a=commitdiff_plain;h=05543dbf2238b2b1d5fc13fe50f5222bd10e610d;p=mit-scheme.git

OPEN-OUTPUT-FILE was missing MERGE-PATHNAMES.
---

diff --git a/v7/src/runtime/fileio.scm b/v7/src/runtime/fileio.scm
index 19cac904e..36dda7389 100644
--- a/v7/src/runtime/fileio.scm
+++ b/v7/src/runtime/fileio.scm
@@ -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?)