uiop:ensure-directory-pathname mangles pathname with wildcard
Hello, using UIOP 3.3.5 on SBCL 2.3.5, I'm getting the following results:
CL-USER> (uiop:ensure-pathname "*")
#P"\\*"
CL-USER> (uiop:ensure-directory-pathname *)
#P"\\\\\\*/"
which can't be used to address a directory named "*" anymore. I suspect that replacing file-namestring
with pathname-name
at https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/uiop/pathname.lisp#L333 would do the trick; at least for SBCL.