[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_fs skel.c skel.h

From: Jim Blandy <jimb_at_zwingli.cygnus.com>
Date: 2001-02-22 17:21:20 CET

This function should check list_skel->is_atom and abort if it's true.

cmpilato@tigris.org writes:
> +void
> +svn_fs__append (skel_t *skel, skel_t *list_skel)
> +{
> + /* No kids? Let's make one. */
> + if (! list_skel->children)
> + {
> + list_skel->children = skel;
> + }
> + else
> + {
> + skel_t *tmp = list_skel->children;
> +
> + /* Find the last child... */
> + while (tmp->next)
> + {
> + tmp = tmp->next;
> + }
> + /* ...and then give her a sister. */
> + tmp->next = skel;
> + }
> +}
Received on Sat Oct 21 14:36:23 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.