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

Re: CVS update: subversion/subversion/libsvn_wc/tests deltaparse-test.c

From: Greg Stein <gstein_at_lyra.org>
Date: 2000-08-04 22:04:04 CEST

On Fri, Aug 04, 2000 at 06:50:43PM -0000, sussman@tigris.org wrote:
> User: sussman
> Date: 00/08/04 11:50:43
>
> Added: subversion/libsvn_wc deltaparse.c
> subversion/libsvn_wc/tests deltaparse-test.c
> Log:
> deltaparser started
...
> void svn_xml_startElement(void *userData, const char *name, const char **atts)
> {
> int i;
> char *attr_name, *attr_value;
> svn_delta_t *my_delta = userData;
>
>
> /* Read all attribute name/value pairs */
> while (*atts)
> {
> for (i = 0; i < *depthPtr; i++)
> putchar(' ');

fwrite() with stdout is going to be much faster here :-) [and lower in the
file, too]

Did you take a look at the src/include/util_xml.h and src/main/util_xml.c
files that I mentioned before? [from the Apache 2.0 distro]

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:06 2006

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.