UIOP: Improve handling of XDG_CONFIG_DIRS
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
ASDF |
Fix Released
|
Undecided
|
Robert P. Goldman |
Bug Description
What I do:
(sb-posix:setenv "XDG_CONFIG_DIRS" "/foo:" 1) ; note trailing ":"
(uiop:user-
|- SIMPLE-ERROR: In (UIOP/FILESYSTE
(sb-posix:setenv "XDG_CONFIG_DIRS" "/foo::/bar" 1)
(uiop:user-
|- same error
What happens:
The above error is signaled, presumably because the directory list is split into "/foo" and "" (and "/bar" in the second example).
What did I expect to happen:
I couldn't find anything about empty directory list entries in http://
I prefer ignoring empty entries since signaling an error can make it impossible to execute certain Lisp programs when the environment is not under the user's control.
Versions:
(asdf:component
(lisp-implement
(lisp-implement
Changed in asdf: | |
status: | New → In Progress |
assignee: | nobody → Robert P. Goldman (rpgoldman) |
Changed in asdf: | |
status: | Fix Committed → Fix Released |
Yes, split-native- pathnames- string should have an (and (not (emptyp string)) ...) clause. Or split-string should have an option to do that and/or to remove empty entries altogether, that split-native- pathnames- string would use.
Robert, are you on it, or do you want me to do it?