Open alanruttenberg opened 7 months ago
As for 2., I don't understand the problem: DIRECTORY should be case sensitive, shouldn't it?
https://github.com/armedbear/abcl/pull/661 fixes your first problem.
Where does it say directory is case sensitive? I'd expect it to be case sensitive on a case-sensitive file system, but MacOS isn't. Probe-file isn't case sensitive. Open isn't either.
Where does it say directory is case sensitive? I'd expect it to be case sensitive on a case-sensitive file system, but MacOS isn't. Probe-file isn't case sensitive. Open isn't either.
After reading through the hyperspec's section on case in pathnames https://novaspec.org/cl/19_2_Pathnames#sec_19_2_2_1_2, I grant that you are more correct than I am. Technically, what matters is what argument is passed via the :case
keyword when the pathname is constructed. I need to read through the ABCL code a bit more with this behavior in mind to see how conforming our behavior could possibly be. I have the feeling that we were never doing the right thing here, but could be surprised.
1) (make-pathname :type 'foo) yields a stacktrace for assertion failure in the repl . Should validate fields as strings. See top of trace below. 2) directory appears to be case sensitive (directory (merge-pathnames (make-pathname :type (string r) :name :wild) fromdir)) fails unless type is (downcase (string r)) for a directory full of files with type ".r5" where r was 'r5.
Cut off bottom of trace below the uid-named function, which is mine.