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

Re: svn commit: r33750 - trunk/subversion/libsvn_wc

From: Greg Stein <gstein_at_gmail.com>
Date: Sun, 19 Oct 2008 06:50:55 -0700

Good catch! Thanks for the tweak.

On Sun, Oct 19, 2008 at 5:53 AM, <rhuijben_at_tigris.org> wrote:
> Author: rhuijben
> Date: Sun Oct 19 05:53:39 2008
> New Revision: 33750
>
> Log:
> * subversion/libsvn_wc/lock.c
> Following up on r33676, skip writing to the now read only missing instance.
> This should fix several testcases on the Windows buildbot.
>
> Modified:
> trunk/subversion/libsvn_wc/lock.c
>
> Modified: trunk/subversion/libsvn_wc/lock.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_wc/lock.c?pathrev=33750&r1=33749&r2=33750
> ==============================================================================
> --- trunk/subversion/libsvn_wc/lock.c Sat Oct 18 18:59:17 2008 (r33749)
> +++ trunk/subversion/libsvn_wc/lock.c Sun Oct 19 05:53:39 2008 (r33750)
> @@ -758,6 +758,13 @@ do_open(svn_wc_adm_access_t **adm_access
> apr_hash_this(hi, &key, NULL, &val);
> entry_path = key;
> entry_access = val;
> +
> + if (entry_access == &missing)
> + {
> + /* Entry is missing or obstructed; see above */
> + continue; /* Skip or we will write read only memory */
> + }
> +
> apr_hash_set(shared->set, entry_path, APR_HASH_KEY_STRING,
> entry_access);
> entry_access->shared = shared;
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
>
>

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-10-19 15:51:10 CEST

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