[Openmcl-cvs-notifications] r10627 - /trunk/source/level-1/l1-boot-1.lisp

gb at clozure.com gb at clozure.com
Mon Sep 8 01:45:38 EDT 2008


Author: gb
Date: Mon Sep  8 01:45:37 2008
New Revision: 10627

Log:
Recognize PLATFORM-OS-WINDOWS.

Handle PATHNAME-DEVICE in REPLACE-BASE-TRANSLATIONS.

Modified:
    trunk/source/level-1/l1-boot-1.lisp

Modified: trunk/source/level-1/l1-boot-1.lisp
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D
--- trunk/source/level-1/l1-boot-1.lisp (original)
+++ trunk/source/level-1/l1-boot-1.lisp Mon Sep  8 01:45:37 2008
@@ -39,7 +39,8 @@
     (,platform-os-linux . :linux)
     (,platform-os-solaris . :solaris)
     (,platform-os-darwin . :darwin)
-    (,platform-os-freebsd . :freebsd)))
+    (,platform-os-freebsd . :freebsd)
+    (,platform-os-windows . :windows)))
 =

 (defparameter *platform-cpu-names*
   `((,platform-cpu-ppc . :ppc)
@@ -72,6 +73,7 @@
 =

 (defun replace-base-translation (host-dir new-base-dir)
   (let* ((host (pathname-host host-dir))
+         (device (pathname-device new-base-dir))
          (host-dir (full-pathname host-dir))
          (trans (logical-pathname-translations host))
          (host-wild (merge-pathnames "**/*.*" host-dir)))
@@ -87,7 +89,8 @@
               (list (car pair)
                     (merge-pathnames =

                      (make-pathname =

-                      :defaults nil =

+                      :defaults nil
+                      :device device
                       :directory (append new-base-dir
                                          (nthcdr (length host-dir) =

                                                  (pathname-directory rhs))=
))



More information about the Openmcl-cvs-notifications mailing list