Skip to content
Snippets Groups Projects
Commit 93998ef5 authored by Francois-Rene Rideau's avatar Francois-Rene Rideau
Browse files

Introduce *wild-file-for-directory*

When using DIRECTORY, the proper pattern to use to get all files
is #p"*" and not #p"*.*" on CLISP and GCL.
This is the opposite of other CL implementations, that
match everything with #p"*.*" and only files without extension with #p"*",
which seems more in line with the CLHS, though counter-intuitive wrt to POSIX.

Now the proper pattern to match all files with TRANSLATE-PATHNAME and
with logical pathnames is still #p"*.*" or #p"*.*.*".

Therefore, we introduce a new parameter *wild-file-for-directory*,
as distinguished from *wild-file*, for notable use with DIRECTORY-FILES.
parent d88e4273
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment