ABCL should allow DIRECTORY listings that don't follow symlinks, and/or provide a function for deleting a directory tree
|Reported by:||vvoutilainen||Owned by:||nobody|
|Keywords:||quicklisp directory symlink||Cc:|
Zach Beane writes:
If I have a directory containing a file named a.txt and a symlink b.txt
that points to a.txt, is there any ABCL function I can call to get both
directory entries as separate objects, i.e. the list (#p"a.txt"
#p"b.txt")? The semantics of CL:DIRECTORY seem to require resolving the
b.txt symlink, so I'm trying to figure out an extra-standard way to do
it in ABCL, if possible.
I suppose we could add a keyword argument to DIRECTORY that would
allow that, or add a separate function. I don't think we have such a facility
at the moment.
Let me back up and get to my actual goal; perhaps there's a way to do it
in ABCL already...
I'd like to delete a directory tree from within ABCL. The directory
generally consists of plain files and other directories, but in some
cases there will be symlinks present. For other CL implementations, I
used extra-standard directory deletion and enumeration functions, so I
thought I could perhaps do the same in ABCL. But maybe I can go for a
Is there a function within ABCL that deletes an entire directory tree?
Further, Zach writes:
Without the ability to do one of those two things, I'm afraid I won't be
able to offer a version of Quicklisp that works with ABCL in the future.