1.0.21.13: fix NATIVE-NAMESTRING on Windows
authorNikodemus Siivola <nikodemus@random-state.net>
Thu, 9 Oct 2008 10:18:51 +0000 (10:18 +0000)
committerNikodemus Siivola <nikodemus@random-state.net>
Thu, 9 Oct 2008 10:18:51 +0000 (10:18 +0000)
 * Support for pathnames with directory NIL was broken.

NEWS
src/code/win32-pathname.lisp
version.lisp-expr

diff --git a/NEWS b/NEWS
index 80024f9..3c084de 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -14,7 +14,9 @@ changes in sbcl-1.0.22 relative to 1.0.21:
   * bug fix: SERVE-EVENT occasionally signaled an error about bogus
     file descriptors when there were none.
   * bug fix: DEFINE-COMPILER-MACRO support of destructuring lambda-lists
-    was broken. (reported by Willem Broekema)
+    was broken. (reporteed by Willem Broekema)
+  * bug fix: SB-EXT:NATIVE-NAMESTRING on Windows did not work on
+    pathnames without a directory.
 
 changes in sbcl-1.0.21 relative to 1.0.20:
   * new feature: the compiler is able to track the effective type of a
index 87f8ca8..a3770fe 100644 (file)
          (write-string device s)
          (write-char #\: s))
        (tagbody
-          (ecase (pop directory)
-            (:absolute (write-char #\\ s))
-            (:relative))
+          (when directory
+            (ecase (pop directory)
+              (:absolute (write-char #\\ s))
+              (:relative)))
           (unless directory (go :done))
         :subdir
           (let ((piece (pop directory)))
index d65b1ea..c664e73 100644 (file)
@@ -17,4 +17,4 @@
 ;;; checkins which aren't released. (And occasionally for internal
 ;;; versions, especially for internal versions off the main CVS
 ;;; branch, it gets hairier, e.g. "0.pre7.14.flaky4.13".)
-"1.0.21.12"
+"1.0.21.13"