Michael Haubenwallner <michael.haubenwall...@salomon.at> writes:

> On Tue, 2009-04-07 at 20:23 -0700, Ben Pfaff wrote:
>> On the Windows platform, Microsoft documents the rename function
>> as refusing to replace existing destination files.  This is
>> allowed by C89 (and C99) but it is not POSIX-compliant, and it
>> can be quite surprising to programs that want to atomically
>> replace files.
>
> What about moving across mountpoints/filesystems?
> Even it may just work now, shouldn't it be documented somewhere?

The flags that I specified to MoveFileEx should not, as I
understand it, allow renaming files across mount points.  As far
as I'm concerned, that is just fine, because POSIX allows failure
in that case.
-- 
"Implementation details are beyond the scope of the Java virtual
 machine specification.  One should not assume that every virtual
 machine implementation contains a giant squid."
--"Mr. Bunny's Big Cup o' Java"


Reply via email to