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

Re: [PATCH] deadlock fix?

From: <kfogel_at_collab.net>
Date: 2003-06-05 20:23:48 CEST

kfogel@collab.net writes:
> /* Now, make sure this NEW_ID doesn't already exist in FS. */
> err = svn_fs__bdb_get_node_revision (NULL, fs, new_id, trail);
> if ((! err) || (err->apr_err != SVN_ERR_FS_ID_NOT_FOUND))
> {
> if (err->apr_err == SVN_ERR_FS_BERKELEY_DB_DEADLOCK)
> return err;

Heh, I forgot that err could be NULL inside the condition, but you get
the idea...

-Karl

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Jun 5 21:08:24 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.