abcl icon indicating copy to clipboard operation
abcl copied to clipboard

parse-namestring ignores current directory spec

Open mmontone opened this issue 1 year ago • 1 comments

(parse-namestring "./foo") evaluates to #p"foo", instead of #p"./foo".

Most Lisp implementation evaluate to #p"./foo", but I don't think this is in the standard.

ABCL supports current directory in paths though, using make-pathname:

(make-pathname :directory '(:relative ".") :name "foo") => #P"./foo".

So it is only parse-namestring that would need to be modified.

mmontone avatar Jan 14 '24 23:01 mmontone

Verified that other open implementations (sbcl, ecl, ccl) have this behavior.

Added test for subsequent patches of PARSE-NAMESTRING.

easye avatar Apr 06 '24 06:04 easye