2.019.6: Fix to split-absolute-pathnames, by Sergey Katrevich.
authorFrancois-Rene Rideau <tunes@google.com>
Thu, 15 Dec 2011 00:04:38 +0000 (19:04 -0500)
committerFrancois-Rene Rideau <tunes@google.com>
Thu, 15 Dec 2011 00:07:31 +0000 (19:07 -0500)
asdf.asd
asdf.lisp
test/test-utilities.script

index 94552ac..20e89a0 100644 (file)
--- a/asdf.asd
+++ b/asdf.asd
@@ -14,7 +14,7 @@
   :licence "MIT"
   :description "Another System Definition Facility"
   :long-description "ASDF builds Common Lisp software organized into defined systems."
-  :version "2.019.5" ;; to be automatically updated by bin/bump-revision
+  :version "2.019.6" ;; to be automatically updated by bin/bump-revision
   :depends-on ()
   :components
   ((:file "asdf")
index c84e59e..c423c98 100644 (file)
--- a/asdf.lisp
+++ b/asdf.lisp
@@ -1,5 +1,5 @@
 ;;; -*- mode: Common-Lisp; Base: 10 ; Syntax: ANSI-Common-Lisp -*-
-;;; This is ASDF 2.019.5: Another System Definition Facility.
+;;; This is ASDF 2.019.6: Another System Definition Facility.
 ;;;
 ;;; Feedback, bug reports, and patches are all welcome:
 ;;; please mail to <asdf-devel@common-lisp.net>.
          ;; "2.345.6" would be a development version in the official upstream
          ;; "2.345.0.7" would be your seventh local modification of official release 2.345
          ;; "2.345.6.7" would be your seventh local modification of development version 2.345.6
-         (asdf-version "2.019.5")
+         (asdf-version "2.019.6")
          (existing-asdf (find-class 'component nil))
          (existing-version *asdf-version*)
          (already-there (equal asdf-version existing-version)))
@@ -3157,7 +3157,8 @@ located."
                    "Invalid relative pathname ~A~@[ ~?~]" x fmt args))
        x))
 (defun* split-absolute-pathnames (x fmt &rest args)
-  (loop :for dir :in (split-string x :separator (inter-directory-separator))
+  (loop :for dir :in (split-string
+                      x :separator (string (inter-directory-separator)))
     :do (apply 'ensure-absolute-pathname* dir fmt args)
     :collect dir))
 (defun getenv-absolute-pathname (x &aux (s (getenv x)))
index 55d9829..30197ef 100644 (file)
@@ -42,4 +42,6 @@
  (asdf::version-satisfies (asdf:asdf-version) "2.000"))
 (assert
  (not (asdf::version-satisfies (asdf:asdf-version) "666")))
+(assert
+  (equal (asdf::split-absolute-pathnames "/foo:/bar" "baz") '("/foo" "/bar")))
 )