My reading of the dictionary entry for DIRECTORY, which says:
Determines which, if any, files that are present in the file system
have names matching pathspec, and returns a fresh list of pathnames
corresponding to the truenames of those files.
would lead me to expect that if:
(pathname-match-p file wild) ==> T
and file isn't itself wild, that:
(member file (directory wild) :test #'equalp)
would also be true. However that doesn't seem to uniformly be the case
on several implementations in certain situations.
Am I at least right in my interpretation of the spec? I.e. is there
supposed to be this correspondence between PATHNAME-MATCH-P and
Peter Seibel pe...@javamonkey.com
Lisp is the red pill. -- John Fraser, comp.lang.lisp