[Openmcl-devel] Directory and symlinks
Waldek Hebisch
hebisch at math.uni.wroc.pl
Wed Nov 9 11:04:11 PST 2011
Gary Byers wrote:
>
> On Wed, 9 Nov 2011, Zach Beane wrote:
>
> > Gary Byers <gb at clozure.com> writes:
> >
> >> On a Linux system, my home directory is "/home/gb" and CCL is installed
> >> in "/usr/local/src/ccl". If I do (in the shell):
> >>
> >> $ cd
> >> $ ln -sf ../../usr/local/src/ccl . # also tried absolute name here
> >>
> >> and in CCL:
> >>
> >> ? :pwd ; can also call (CCL:DEFAULT-DERECTORY)
> >> #P"/home/gb/"
> >> ? (directory "ccl/*/*.lx64fsl")
> >> => list of .lx64fsl files in immediate subdirectories of CCL directory.
> >>
>
> No, and there's at least some argument that it shouldn't. (I'm not absoulutely
> sure that I believe that argument ...)
Well, I expect that (directory "*/*/*.lx64fsl") returns the things
that (directory "ccl/*/*.lx64fsl") returns plus maybe soemthing
more. But with ccl this does not work.
> The argument is that DIRECTORY is supposed to find matching files that are
> present in the filesystem and return their truenames. Does "foo" (or "ccl")
> match the first wildcard in the argument to (directory "*/*.image") ? The
> truenames of those links clearly do, but it's less clear that the links themselves
> do. (I can imagine wanting both behaviors.)
This argument applies equally to "*/*.image" and "ccl/*.image".
--
Waldek Hebisch
hebisch at math.uni.wroc.pl
More information about the Openmcl-devel
mailing list