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

Re: svn commit: rev 4012 - trunk/subversion/libsvn_client

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2002-12-05 19:36:18 CET

Justin Erenkrantz <jerenkrantz@apache.org> writes:
> Though it does look like the previous code made a mistake in not
> sending loop_pool to harvest_committables... -- justin

I have a dim memory that that was on purpose too -- that
harvest_committables() makes a promise about what pool certain
returned objects would be allocated in, and therefore you can't pass
the loop_pool in the recursive call, you have to pass the top pool
through all the allocations.

No, wait, the add_committable() helper function just gets the hash
table's own pool, in fact it doesn't even take a pool parameter. So
that's not a concern.

You can ignore this mail :-).

But looking at the doc string for both the public function and its
helper

   svn_client__harvest_committables()
   harvest_committables()

...I don't see "POOL" mentioned at all. Probably should, at least to
say that *COMMITTABLES gets allocated in it.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Dec 5 20:14:42 2002

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.