Use pathname object for info descriptor rather than namestring. This
authorChris Hanson <org/chris-hanson/cph>
Thu, 4 Mar 1999 06:08:04 +0000 (06:08 +0000)
committerChris Hanson <org/chris-hanson/cph>
Thu, 4 Mar 1999 06:08:04 +0000 (06:08 +0000)
will allow runtime system to use these descriptors on operating
systems other than the one on which the code is compiled.

v7/src/compiler/base/toplev.scm

index 3e29f6bc77e7c96a7adddc3095ef96e1d5df2b3f..88997ff53c84da8151870f61945deb02e17b9d4c 100644 (file)
@@ -1,6 +1,6 @@
 #| -*-Scheme-*-
 
-$Id: toplev.scm,v 4.56 1999/03/04 05:54:06 cph Exp $
+$Id: toplev.scm,v 4.57 1999/03/04 06:08:04 cph Exp $
 
 Copyright (c) 1988-1999 Massachusetts Institute of Technology
 
@@ -506,8 +506,8 @@ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
        (wrapper
         (if (default-object? wrapper) in-compiler wrapper)))
     (fluid-let ((*info-output-filename*
-                (if (string? info-output-pathname)
-                    (->pathname info-output-pathname)
+                (if (pathname? info-output-pathname)
+                    info-output-pathname
                     *info-output-filename*))
                (*rtl-output-port* rtl-output-port)
                (*lap-output-port* lap-output-port)