Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

parse-namestring ignores current directory spec #656

Open
mmontone opened this issue Jan 14, 2024 · 1 comment
Open

parse-namestring ignores current directory spec #656

mmontone opened this issue Jan 14, 2024 · 1 comment

Comments

@mmontone
Copy link

(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.

easye added a commit to easye/abcl that referenced this issue Apr 6, 2024
@easye
Copy link
Collaborator

easye commented Apr 6, 2024

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

Added test for subsequent patches of PARSE-NAMESTRING.

easye added a commit that referenced this issue Apr 29, 2024
Test for failure; no implementation.

c.f. <#656>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants