On 10/21/24 7:22 PM, Waldek Hebisch wrote:
On Wed, Oct 16, 2024 at 11:16:09AM +0800, Qian Yun wrote:
Previous patch is not quite correct.
Since we can not rely on "truename" to distinguish file and directory,
we have to use "ext:probe-directory".
I wonder why we didn't use it in the first place.
Original problem was that 'probe-file' signaled errors. 'truename'
+ 'ignore-errors' worked and was using only standard functions.
I am not sure if 'ext:probe-directory' existed at that time,
but various advice was to use what we used. If 'ext:probe-directory'
exists in older 'clisp' (say around 2.40, later verisions are
harder to build), then we should use it. Othwerwise to would be
nasty bargain: breaking older correct versions to support
later broken version.
This function existed at least since year 2001, version 2.26.
I'll commit my patch shortly after.
- Qian
--
You received this message because you are subscribed to the Google Groups "FriCAS -
computer algebra system" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/fricas-devel/6bc5bff3-89e1-4e12-b01d-98108fd8162b%40gmail.com.