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

Pool usage

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-05-23 17:06:23 CEST


I'd like to commit the attached patch to svndumpfilter.c, which does the
usual lundblad-replaces-printf-with-svn_cmdline_printf stuff. I need
advice on pool usage, however.

In the function close_revision, there is no pool. So I used a pool from a
hash table. The pool should live longer than the temporary string used by
svn_cmdline_fprintf, but I still wonder if this is considered correct or
if I should use a subpool.


To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org

Received on Sun May 23 17:06: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.