1.0.29.49: silence compiler note for type-checks from MAKE-INSTANCE in safe code
[sbcl.git] / src / code / win32-pathname.lisp
index 80ea088..8edaeda 100644 (file)
         (directory (pathname-directory pathname)))
     (cond ((or (null device) (eq device :unspecific))
            "")
-          ((= 1 (length device))
+          ((and (= 1 (length device)) (alpha-char-p (char device 0)))
            (concatenate 'simple-string device ":"))
           ((and (consp directory) (eq :relative (car directory)))
            (error "No printed representation for a relative UNC pathname."))