On Mon, Mar 7, 2011 at 21:22, <hwri...@apache.org> wrote: >... > +++ subversion/trunk/subversion/libsvn_wc/wc_db_private.h Tue Mar 8 02:22:16 > 2011 > @@ -52,6 +52,15 @@ struct svn_wc__db_t { > const char *local_abspath -> svn_wc__db_wcroot_t *wcroot */ > apr_hash_t *dir_data; > > + /* A few members to assist with caching of kind values for paths. See > + get_path_kind() for use. */ > + struct > + { > + char *abspath; > + size_t size; > + svn_node_kind_t kind; > + } parse_cache;
How about just using an svn_stringbuf_t and svn_stringbuf_set() ? That's really all you're doing here, but ... manually. Cheers, -g