ENOUGH-NAMESTRING and .~N~

Helmut Eller <[email protected]> Sat, 01 Dec 2012 20:20:59 +0100
Newsgroups gmane.lisp.cmucl.devel
Message-ID <[email protected]>
Create a file .my-file.~1~ like so:

  bash> mkdir -p /tmp/my-dir; touch /tmp/my-dir/.my-file.~1~

then in CMUCL:

* (defparameter *my-dir* (truename "/tmp/my-dir/"))
* (enough-namestring (car (directory *my-dir*)) *my-dir*)
Error in function (FLET LISP::LOSE LISP::UNPARSE-UNIX-ENOUGH):
#P"/tmp/my-dir/.my-file.~1~" cannot be represented relative to #P"/tmp/my-dir/"
   [Condition of type SIMPLE-ERROR]

That's odd, no?

Helmut

_______________________________________________
cmucl-imp mailing list
[email protected]
http://lists.zs64.net/mailman/listinfo/cmucl-imp