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

Re: svn commit: r11836 - in branches/locking/subversion: include libsvn_fs_base/util

From: Peter N. Lundblad <peter_at_famlundblad.se>
Date: 2004-11-11 21:43:23 CET

On Thu, 11 Nov 2004 sussman@tigris.org wrote:

> Author: sussman
> Date: Thu Nov 11 11:19:03 2004
> New Revision: 11836
>
> Url: http://svn.collab.net/viewcvs/svn/branches/locking/subversion/libsvn_fs_base/util/fs_skels.c?view=diff&rev=11836&p1=branches/locking/subversion/libsvn_fs_base/util/fs_skels.c&r1=11835&p2=branches/locking/subversion/libsvn_fs_base/util/fs_skels.c&r2=11836
> ==============================================================================
> --- branches/locking/subversion/libsvn_fs_base/util/fs_skels.c (original)
> +++ branches/locking/subversion/libsvn_fs_base/util/fs_skels.c Thu Nov 11 11:19:03 2004
> @@ -770,6 +788,57 @@
> }
>
>
> +svn_error_t *
> +svn_fs_base__parse_lock_skel (svn_lock_t **lock_p,
> + skel_t *skel,
> + apr_pool_t *pool)
> +{
> + svn_lock_t *lock;
> + const char *timestr;
> +
> + /* Validate the skel. */
> + if (! is_valid_lock_skel (skel))
> + return skel_err ("lock");
> +
> + /* Create the returned structure */
> + lock = apr_pcalloc (pool, sizeof (*lock));
> +
> + /* PATH */
> + lock->path = apr_pstrmemdup (pool, skel->children->next->data,
> + skel->children->next->len);
> +
> + /* LOCK-TOKEN */
> + lock->token = apr_pstrmemdup (pool,
> + skel->children->next->next->data,
> + skel->children->next->next->len);
> +
> + /* OWNER */
> + lock->path = apr_pstrmemdup (pool,
> + skel->children->next->next->next->data,
> + skel->children->next->next->next->len);
> +
You're assigning owner to path.

//Peter

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Nov 11 21:48:57 2004

This is an archived mail posted to the Subversion Dev mailing list.