[Ecls-list] Rename a directory?

Geo Carncross geocar at gmail.com
Sat Aug 21 13:48:41 UTC 2010


On Thu, Aug 19, 2010 at 6:09 PM, Zach Beane <xach at xach.com> wrote:
> Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> writes:
>
>> Hopefully fixed in CVS. RENAME-FILE is all what you need -- even though the
>> specification only mandates it should work for files and thus this assumption
>> is not portable.
>
> Is there any way to do it that would work in an already-released ECL?

You might be able to coerce the compiler into doing it:

http://ecls.sourceforge.net/new-manual/pt04.html

then compiling something like this (untested):

(uffi:def-function ("rename" c-rename) ((src :cstring) (dst :cstring))
:returning :int)




More information about the ecl-devel mailing list