s...@apache.org writes: > Author: stsp > Date: Thu Apr 15 22:18:59 2010 > New Revision: 934627 > > URL: http://svn.apache.org/viewvc?rev=934627&view=rev > Log: > Reintegrate the svn-patch-improvements branch into trunk.
> + /* Rebuild the empty dirs list, replacing empty dirs which have > + * an empty parent with their parent. */ > + again = FALSE; > + empty_dirs_copy = apr_array_copy(iterpool, empty_dirs); > + apr_array_clear(empty_dirs); > + for (i = 0; i < empty_dirs_copy->nelts; i++) apr_array_clear is only available in APR 1.3.x and later. We could write svn_array_clear, or perhaps even apr_array_clear, or we could simply reset empty_dirs->nelts directly. -- Philip