X-Git-Url: http://repo.macrolet.net/gitweb/?a=blobdiff_plain;f=src%2Fcode%2Fpathname.lisp;h=1b221ff2477abf942bde2f34fe796281f847e3ac;hb=fbe6e22af842835f7c70309f4d48064ca3984ad0;hp=94a9cfb17e99b0cc981cff920f8fa9c66012af8b;hpb=6fa0ad323b5031017e62ee5d7e016eae2cf79efd;p=sbcl.git diff --git a/src/code/pathname.lisp b/src/code/pathname.lisp index 94a9cfb..1b221ff 100644 --- a/src/code/pathname.lisp +++ b/src/code/pathname.lisp @@ -85,6 +85,12 @@ ;; on standard Unix filesystems) (version nil :type (or integer pathname-component-tokens (member :newest)))) +;;; Return a value suitable, e.g., for preinitializing +;;; *DEFAULT-PATHNAME-DEFAULTS* before *DEFAULT-PATHNAME-DEFAULTS* is +;;; initialized (at which time we can't safely call e.g. #'PATHNAME). +(defun make-trivial-default-pathname () + (%make-pathname *unix-host* nil nil nil nil :newest)) + ;;; Logical pathnames have the following format: ;;; ;;; logical-namestring ::=