X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Ftarget-pathname.lisp;h=9121c1cb0ff7fc5b47a5b79a5767f9aa17d225a4;hb=9c7b8638313069c25a9718985720d69c9f4a1cda;hp=7089003a9a103a382eaef7d14782c3bf2500fde5;hpb=1b64697e4e8a85ff8f11f5c05de71687dc5ad2e2;p=sbcl.git diff --git a/src/code/target-pathname.lisp b/src/code/target-pathname.lisp index 7089003..9121c1c 100644 --- a/src/code/target-pathname.lisp +++ b/src/code/target-pathname.lisp @@ -625,7 +625,7 @@ a host-structure or string." (let ((potential-host (logical-word-or-lose (subseq namestr start colon)))) ;; depending on the outcome of CSR comp.lang.lisp post - ;; "can PARSE-NAMESTRING create logical hosts, we may need + ;; "can PARSE-NAMESTRING create logical hosts", we may need ;; to do things with potential-host (create it ;; temporarily, parse the namestring and unintern the ;; logical host potential-host on failure. @@ -683,7 +683,10 @@ a host-structure or string." ;; *DEFAULT-PATHNAME-DEFAULTS has a SB-IMPL::UNIX-HOST ;; for a host. ((pathname-host defaults) - (funcall (host-parse (pathname-host defaults)) namestr start end)) + (funcall (host-parse (pathname-host defaults)) + namestr + start + end)) ;; I don't think we should ever get here, as the default ;; host will always have a non-null HOST, given that we ;; can't create a new pathname without going through @@ -909,7 +912,7 @@ a host-structure or string." (declare (type pathname-designator in-pathname)) (with-pathname (pathname in-pathname) (with-pathname (wildname in-wildname) - (macrolet ((frob (field &optional (op 'components-match )) + (macrolet ((frob (field &optional (op 'components-match)) `(or (null (,field wildname)) (,op (,field pathname) (,field wildname))))) (and (or (null (%pathname-host wildname))