Commit 7edd7302 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Add ftype declaration for ensure-pathname

Declare a FTYPE for ENSURE-PATHNAME in uiop/pathname so that CCL won't complain
about a forward reference during `make load l=ccl`.

SBCL insists that a type (FUNCTION (T &REST T) T) doesn't cover a function
with keyword arguments, and wants either an exhaustive list of keywords and types,
or a &ALLOW-OTHER-KEYS. So just say FUNCTION, to make SBCL happy, too.
parent 735b6418
......@@ -337,6 +337,8 @@ actually-existing directory."
;;; Parsing filenames
(with-upgradability ()
(declaim (ftype function ensure-pathname)) ; forward reference
(defun split-unix-namestring-directory-components
(unix-namestring &key ensure-directory dot-dot)
"Splits the path string UNIX-NAMESTRING, returning four values:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment