[Ecls-list] asdf:make-build :move-here fails
Matthew Mondor
mm_lists at pulsar-zone.net
Wed Apr 14 07:40:42 UTC 2010
On Wed, 14 Apr 2010 09:23:00 +0200
Juan Jose Garcia-Ripoll <juanjose.garciaripoll at googlemail.com> wrote:
> Thanks for reporting. I was trying to use the C library to avoid problems
> with permissions, but it seems we are not allowed :-/ Does anybody here have
> a better implementation of rename-file that could handle this? There is no
> way in C to know whether files live in the same or different filesystems!
It's too late for me to look or to write an implementation tonight, but
if I remember, on POSIX systems a common way to distinguish the file
system is comparing a struct stat entry's st_dev. If they are
different, it would be possible to copy/write the file on the target
fs, to then proceed...
Goodnight,
--
Matt
More information about the ecl-devel
mailing list