Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
CL:PROBE-FILE signals an error when passed a directory on CLISP. #8
Thanks for the report!
I think CLISP is being rather capricious and unpragmatic here.
In your proposed patch, I see that you're importing cl-fad as part of your solution. I'm not keen to import a third-party library (notwithstanding its popularity) for such a trivial fix, especially to paper over a gratuitous implementation-dependent idiosyncrasy.
I think I'll just use a reader conditional to use EXT:PROBE-PATHNAME on CLISP, for the time being. If the probe-file and possible related issues prove to be recurring annoyances in other projects of mine, I might eventually consider adopting cl-fad, but I like to be quite careful about importing third-party libraries, in general. This is about controlling complexity and having the best possible understanding of my systems.
I expect to release a new version of the clhs wrapper within a few days.
Version 0.6.2 of the CLHS wrapper should work correctly on CLISP.
It will be in the next Quicklisp release but you can get it from here: