From 0f35ebf4c7e37ffe9b0ae2a6587d95b3ccc64b41 Mon Sep 17 00:00:00 2001 From: Chris Hanson Date: Sun, 15 Apr 2007 17:50:37 +0000 Subject: [PATCH] In FIND-PATHNAME, don't do built-in test for pathnames without types; that will be handled by LOAD/DEFAULT-FIND-PATHNAME-WITH-TYPE. --- v7/src/runtime/load.scm | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/v7/src/runtime/load.scm b/v7/src/runtime/load.scm index 087182226..0acdd7ce7 100644 --- a/v7/src/runtime/load.scm +++ b/v7/src/runtime/load.scm @@ -1,6 +1,6 @@ #| -*-Scheme-*- -$Id: load.scm,v 14.92 2007/04/15 17:38:38 cph Exp $ +$Id: load.scm,v 14.93 2007/04/15 17:50:37 cph Exp $ Copyright (C) 1986, 1987, 1988, 1989, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, @@ -176,7 +176,8 @@ USA. find-pathname (list filename default-types)) default-types)))) - (cond ((built-in-object-file pathname) + (cond ((and (pathname-type pathname) + (built-in-object-file pathname)) => (lambda (value) (values pathname ((find-loader #f) value)))) @@ -298,7 +299,7 @@ USA. ((ucode-primitive initialize-c-compiled-block 1) handle)))) (define (liarc-object-pathname->handle pathname) - (let ((pathname (merge-pathnames pathname))) + (let ((pathname (pathname-simplify (merge-pathnames pathname)))) (let ((d (pathname-directory pathname)) (n (pathname-name pathname)) (t (pathname-type pathname))) -- 2.25.1