[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: C.A.T.Magic <c.a.t.magic_at_gmx.at>
Date: 2004-05-09 19:59:05 CEST

C.A.T.Magic wrote:
> Josh Pieper wrote:
>
>> C.A.T.Magic wrote:
[...]
>>> which means that apr_file_mktemp is failing -
>>> maybe a bug in apr for win32?
[...]
> fails with errorcode
> 720080 -- The file exists
> which is probably the most senseless thing a generate unique
> file function could ever return :)
[...]

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++;

:)
=======
c.a.t.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun May 9 19:59:25 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.