Opened 11 years ago
Last modified 11 years ago
#88 new defect
enough-namestring
Reported by: | Helmut Eller | Owned by: | somebody |
---|---|---|---|
Priority: | major | Milestone: | |
Component: | Core | Version: | 20e |
Keywords: | Cc: |
Description
enough-namestring doesn't work for this example:
* (enough-namestring "foo/bar.lisp" (truename "./")) Error in function (FLET LISP::LOSE LISP::UNPARSE-UNIX-ENOUGH): #P"foo/bar.lisp" cannot be represented relative to #P"/tmp/" [Condition of type SIMPLE-ERROR]
I would expect a result like "foo/bar.lisp".
Note: See
TracTickets for help on using
tickets.
This is my expectation too, but comments in the code for unparse-unix-enough says that you can't represent a relative directory relative to an absolute directory, which is what we have here. The comment doesn't explain why, so it must have been obvious at that time.
More thinking required.