[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: svn rev 7611: FAIL (i386-unknown-freebsdelf5.0 static ra_local)

From: Branko Čibej <brane_at_xbc.nu>
Date: 2003-11-03 20:46:18 CET

Sander Striker wrote:

>>From: Philip Martin [mailto:philip@codematters.co.uk]
>>Sent: Monday, November 03, 2003 7:00 PM
>>
>>
>>Subversion relies on the atomic nature of renames, although I note
>>that the APR documentation doesn't provide any such guarantee
>>directly. On Unix, at least, it is implied by the warning about
>>crossing devices.
>>
>>
>
>Since we don't want to break any other apps that rely on the atomicity
>of apr_file_rename, we'd better not change that. FWIW, I think it should
>be safe to document apr_file_name() as atomic.
>
>
It won't be atomic on Windows in the cross-volume case, when MoveFileEx
will do a copy+delete. Saying that the rename is atomic would be misleading.

-- 
Brane Čibej   <brane_at_xbc.nu>   http://www.xbc.nu/brane/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 3 20:47:28 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.