searching for share directories, was: 5.11.0 can not load diff_form



Raymond Toy wrote:
> Robert Dodier wrote:
>> OK, here is an attempt at some Lisp code to look for share directories.
>>
>> (1) File & directory stuff varies from Lisp to Lisp.
>> I think the code below works for Clisp, GCL, SBCL, and Allegro (all 
>> Linux).
> Can you explain how find-share-directories is supposed to be used?  I 
> tried this with gcl and it just seems to hang.
>
Never mind.  It works with gcl.  It just seems to take an exceedingly 
long time.  Something that I probably would not be happy to see, every 
time I start maxima.

Perhaps we could just do something as simple as "find share -type d".  
That should be fast and we only get directories as a result.  We just 
need to filter out the CVS directories, and binary-* directories.

Of course, this probably won't work on Windows with cygwin or equivalent.

Ray