[movitz-cvs] CVS update: movitz/load.lisp

Frode Vatvedt Fjeld ffjeld at common-lisp.net
Fri Jan 16 18:22:37 UTC 2004


Update of /project/movitz/cvsroot/movitz
In directory common-lisp.net:/tmp/cvs-serv22758

Modified Files:
	load.lisp 
Log Message:
This seems to work for cmucl and sbcl.

Date: Fri Jan 16 13:22:37 2004
Author: ffjeld

Index: movitz/load.lisp
diff -u movitz/load.lisp:1.4 movitz/load.lisp:1.5
--- movitz/load.lisp:1.4	Fri Jan 16 11:22:42 2004
+++ movitz/load.lisp	Fri Jan 16 13:22:37 2004
@@ -10,7 +10,7 @@
 ;;;; Author:        Frode Vatvedt Fjeld <frodef at acm.org>
 ;;;; Created at:    Thu Jan 15 18:40:58 2004
 ;;;;                
-;;;; $Id: load.lisp,v 1.4 2004/01/16 16:22:42 ffjeld Exp $
+;;;; $Id: load.lisp,v 1.5 2004/01/16 18:22:37 ffjeld Exp $
 ;;;;                
 ;;;;------------------------------------------------------------------
 
@@ -18,16 +18,15 @@
 
 (load (compile-file #p"../binary-types/binary-types"))
 
-(let ((*default-pathname-defaults* #p"../ia-x86/"))
-  #+(or cmu sbcl)
-  (let ((pwd (ext:default-directory)))
-    (progn
-      (unwind-protect
-	  (progn
-	    (setf (ext:default-directory) #p"../ia-x86/")
-	    (load "load"))
-	(setf (ext:default-directory) pwd))))
-  #-(or cmu sbcl) (load "load"))
+(let ((*default-pathname-defaults* (merge-pathnames #p"../ia-x86/")))
+  #+(or cmu) (let ((pwd (ext:default-directory)))
+	       (progn
+		 (unwind-protect
+		     (progn
+		       (setf (ext:default-directory) #p"../ia-x86/")
+		       (load "load"))
+		   (setf (ext:default-directory) pwd))))
+  #-(or cmu) (load "load"))
 
 #+allegro (progn
 	    (load (compile-file #p"../infunix/procfs"))
@@ -65,4 +64,6 @@
 			    ;; "procfs-image"
 			    "assembly-syntax"
 			    "compiler-protocol"
-			    "compiler" "special-operators" "special-operators-cl"))))))
+			    "compiler"
+			    "special-operators"
+			    "special-operators-cl"))))))





More information about the Movitz-cvs mailing list