Return-Path: X-Original-To: apmail-subversion-commits-archive@minotaur.apache.org Delivered-To: apmail-subversion-commits-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 4B54A11C86 for ; Mon, 18 Aug 2014 12:46:03 +0000 (UTC) Received: (qmail 60409 invoked by uid 500); 18 Aug 2014 12:46:03 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 60380 invoked by uid 500); 18 Aug 2014 12:46:03 -0000 Mailing-List: contact commits-help@subversion.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@subversion.apache.org Delivered-To: mailing list commits@subversion.apache.org Received: (qmail 60367 invoked by uid 99); 18 Aug 2014 12:46:03 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 12:46:03 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=5.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.4] (HELO eris.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 18 Aug 2014 12:46:02 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id E621D23888D7; Mon, 18 Aug 2014 12:45:41 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1618592 - in /subversion/branches/1.8.x-r1611379: ./ subversion/libsvn_subr/named_atomic.c Date: Mon, 18 Aug 2014 12:45:41 -0000 To: commits@subversion.apache.org From: stefan2@apache.org X-Mailer: svnmailer-1.0.9 Message-Id: <20140818124541.E621D23888D7@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: stefan2 Date: Mon Aug 18 12:45:41 2014 New Revision: 1618592 URL: http://svn.apache.org/r1618592 Log: On the Merge 1.8.x-r1611379 branch: Merge r1617687 from /trunk. There were no conflicts. Modified: subversion/branches/1.8.x-r1611379/ (props changed) subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/named_atomic.c Propchange: subversion/branches/1.8.x-r1611379/ ------------------------------------------------------------------------------ Merged /subversion/trunk:r1617687 Modified: subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/named_atomic.c URL: http://svn.apache.org/viewvc/subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/named_atomic.c?rev=1618592&r1=1618591&r2=1618592&view=diff ============================================================================== --- subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/named_atomic.c (original) +++ subversion/branches/1.8.x-r1611379/subversion/libsvn_subr/named_atomic.c Mon Aug 18 12:45:41 2014 @@ -444,17 +444,21 @@ svn_atomic_namespace__create(svn_atomic_ * with our data file) */ if (new_ns->data->count > MAX_ATOMIC_COUNT) - return svn_error_create(SVN_ERR_CORRUPTED_ATOMIC_STORAGE, 0, - _("Number of atomics in namespace is too large.")); - - /* Cache the number of existing, complete entries. There can't be - * incomplete ones from other processes because we hold the mutex. - * Our process will also not access this information since we are - * either being called from within svn_atomic__init_once or by - * svn_atomic_namespace__create for a new object. - */ - new_ns->min_used = new_ns->data->count; - *ns = new_ns; + { + err = svn_error_create(SVN_ERR_CORRUPTED_ATOMIC_STORAGE, 0, + _("Number of atomics in namespace is too large.")); + } + else + { + /* Cache the number of existing, complete entries. There can't be + * incomplete ones from other processes because we hold the mutex. + * Our process will also not access this information since we are + * either being called from within svn_atomic__init_once or by + * svn_atomic_namespace__create for a new object. + */ + new_ns->min_used = new_ns->data->count; + *ns = new_ns; + } } /* Unlock to allow other processes may access the shared memory as well.