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

Re: [TSVN] Question about 2560

From: Will Dean <svn_at_indcomp.co.uk>
Date: 2005-01-28 10:06:26 CET

At 08:41 28/01/2005 +0100, you wrote:

>Deleting two files with 1.1.3 will crash. From the crashreports, I
>could see that the crash happens inside the Subversion lib. But why
>only on the second file and not the first one too? So I started
>digging: we're reusing the global pool for the deletes, and that's
>something the delete function doesn't like at all. So I had to use a
>local pool for it. But that didn't work either, because the
>MakePathArray() and logMessage() still used the global pool (I was
>basically *mixing* pool then). So I changed those two functions to
>accept a pool param so I can allocate all required mem in _one_ local
>pool.
>Now the delete function works again.

Weird. I didn't think an SVN function would care *what* pool something was in.

Clearly they don't work quite like I think!

Thanks for this.

Cheers,

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tortoisesvn.tigris.org
For additional commands, e-mail: dev-help@tortoisesvn.tigris.org
Received on Fri Jan 28 10:07:14 2005

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