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

Re: [bug] FSFS errors when doing simultaneous commits - win32 apr_file_mktemp is broken

From: Josh Pieper <jjp_at_pobox.com>
Date: 2004-05-09 22:42:19 CEST

C.A.T.Magic wrote:
> maybe a simple minded aproach will do a better job:
> (pseudocode)
> int r = head_revision;
> int t = 1;
> while ( mkdir("$r-$t")==DIR_EXISTS ) t++;
>
> :)

This is essentially what I did by using svn_io_open_unique_file. Try
r9662 and see how it goes.

-Josh

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 9 22:42:37 2004

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.