[Ecls-list] ECL's rename-file problems

Juan Jose Garcia-Ripoll juanjose.garciaripoll at gmail.com
Thu Jan 17 22:40:04 UTC 2013


(rename-file "foo.exe" "faa") -> "faa.exe"

Unfortunately at some point it seemed ok to follow SBCL and interpret
physical pathnames without extension as having :type NIL and drop support
of :unspecific, as it leads to non-readable pathnames (i.e. a single
namestring does not identify uniquely a pathname).

However, while this would seem a case for :unspecific instead of NIL in
missing components, following that route would mean that (merge-pathnames
"faa" "foo.txt") -> "faa"

I do not know which one is more annoying.

Juanjo

-- 
Instituto de Física Fundamental, CSIC
c/ Serrano, 113b, Madrid 28006 (Spain)
http://juanjose.garciaripoll.googlepages.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mailman.common-lisp.net/pipermail/ecl-devel/attachments/20130117/fee187c0/attachment.html>


More information about the ecl-devel mailing list