[Ecls-list] ECL's rename-file problems
stassats at gmail.com
Fri Jan 18 14:33:41 UTC 2013
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at gmail.com> writes:
> (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.
I would find RENAME-FILE working as it is now less
surprising than MERGE-PATHNAMES changing its behaviour.
It is quite annoying, but oh well, that's just pathnames, they are meant
to be annoying.
With best regards, Stas.
More information about the ecl-devel