uiop:directory-files doesn't behave on paths without a trailing slash
Spenser Truex
usenet at spensertruex.com
Wed Jun 26 21:41:56 UTC 2019
"Robert Goldman" <rpgoldman at sift.info>
writes:
> I checked and pathname-directory-pathname is redundant, because of the
> guarantees provided by ensure-directory-pathname, but when I look at
> get-pathname-defaults, I am pretty sure it cannot be removed in the
> same way.
>
> After get-pathname-defaults any relative pathnames will be resolved by
> pathname merging, and we should be guaranteed to have an absolute
> pathname.
>
> AFAICT, ensure-directory-pathname can return a relative pathname.
>
> To be honest, I don't know if an absolute pathname is required, but I
>would have to understand a lot more of uiop to be sure it was safe to
>relax that constraint, so I left it. I'm willing to be convinced if you
>have more energy than I do.
Indeed, it does seem to be quite a mess. I'll let it alone.
> Best,
> R
>
> P.S. please send diffs with some more context if you can -- I find the
>following diff flags helpful: --ignore-space-change -u -F '\''^(def'\''
Thank you for those diff flags, I will use them in future lisp diffs.
--
Spenser Truex
https://spensertruex.com/
San Francisco, USA
More information about the asdf-devel
mailing list