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

RE: Build system info needed

From: Sander Striker <striker_at_apache.org>
Date: 2003-10-31 14:42:28 CET

> From: Kopp David K [mailto:david.kopp@us.army.mil]
> Sent: Wednesday, October 29, 2003 5:51 PM

[...]
> /* Fetch a repository object initialized with a shared read/write
> lock on the database. */
> SVN_ERR (get_repos (repos_p, path,
> APR_FLOCK_SHARED,
> TRUE, /* open the db into repos->fs. */
> pool));
> return SVN_NO_ERROR;
>}
>
> My question then becomes, where is the lock file deleted? I didn't see any svn_repos_close function.
> Is this right?

Absolutely correct. :)

Once the pool is destroyed (which is when the program terminates), cleanups
are run. The get_repos function no doubt registers a cleanup to remove
the lock.

HTH,

Sander

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Fri Oct 31 14:43:18 2003

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.