[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: <rbb_at_rkbloom.net>
Date: 2004-05-09 20:06:58 CEST

I have forwarded this to the APR dev list.

Ryan

On Sun, 9 May 2004, C.A.T.Magic wrote:

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

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