apr-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From <...@rkbloom.net>
Subject apr_file_mktemp broken on windows
Date Sun, 09 May 2004 18:06:42 GMT

Another bug from subversion.

Ryan

---------- Forwarded message ----------
Date: Sun, 09 May 2004 19:59:05 +0200
From: C.A.T.Magic <c.a.t.magic@gmx.at>
To: "dev@subversion.tigris.org" <dev@subversion.tigris.org>
Cc: Josh Pieper <jjp@pobox.com>
Subject: Re: [bug] FSFS errors when doing simultaneous commits - win32
    apr_file_mktemp is broken

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



Mime
View raw message