X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fwin32-pathname.lisp;h=169f384f4e268c8af33c147e94a51bce2d556747;hb=9de65d498a9da0c70a60ea2bf9b5af39aaffe55d;hp=5cfa9953226579a9111ad46877b32966509c39d6;hpb=cf49f2d086069a9c1b57f501df9a6a0bd3a34c3c;p=sbcl.git diff --git a/src/code/win32-pathname.lisp b/src/code/win32-pathname.lisp index 5cfa995..169f384 100644 --- a/src/code/win32-pathname.lisp +++ b/src/code/win32-pathname.lisp @@ -11,6 +11,24 @@ (in-package "SB!IMPL") +(def!struct (win32-host + (:make-load-form-fun make-host-load-form) + (:include host + (parse #'parse-win32-namestring) + (parse-native #'parse-native-win32-namestring) + (unparse #'unparse-win32-namestring) + (unparse-native #'unparse-native-win32-namestring) + (unparse-host #'unparse-win32-host) + (unparse-directory #'unparse-physical-directory) + (unparse-file #'unparse-win32-file) + (unparse-enough #'unparse-win32-enough) + (unparse-directory-separator "\\") + (simplify-namestring #'simplify-win32-namestring) + (customary-case :lower)))) + +(defvar *physical-host* (make-win32-host)) + +;;; (define-symbol-macro +long-file-name-prefix+ (quote "\\\\?\\")) (define-symbol-macro +unc-file-name-prefix+ (quote "\\\\?\\UNC"))