• Francois-Rene Rideau's avatar
    Fix file-pathname-p to accept NIL pathname-name · b2b9020f
    Francois-Rene Rideau authored
    ccl, gcl, lispworks think that (probe-file #p".bashrc") has its
    pathname-name and pathname-type be NIL and "bashrc" whereas other
    implementations (at least abcl allegro clisp cmucl ecl mkcl sbcl xcl)
    think that it has them be ".bashrc" and NIL.
    cl -l $l -i "(let ((p (probe-file \".bashrc\"))) \
    (format t \"FOO $l: ~S ~S~%\" (pathname-name p) (pathname-type p)))" \
    |& grep FOO
pathname.lisp 35.7 KB