ccl icon indicating copy to clipboard operation
ccl copied to clipboard

Improper handling of pathname-name for dotfiles

Open kingcons opened this issue 4 months ago • 4 comments

A test case is as follows:

(defvar *example* #p"/home/cons/projects/collards/examples/.collards")
(pathname-name *example*) ;; returns NIL
(pathname-type *example*) ;; returns "collards"

This causes an incorrect result from uiop:hidden-pathname-p. (see: https://gitlab.common-lisp.net/asdf/asdf/-/blob/master/uiop/pathname.lisp#L257)

I don't claim that this is in violation of the standard, but it seems to be the opposite interpretation to all three other implementations I tested: clisp, ecl, and sbcl.

kingcons avatar Oct 08 '24 02:10 kingcons