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 14250F50C for ; Fri, 29 Mar 2013 18:31:48 +0000 (UTC) Received: (qmail 48855 invoked by uid 500); 29 Mar 2013 18:31:47 -0000 Delivered-To: apmail-subversion-commits-archive@subversion.apache.org Received: (qmail 48832 invoked by uid 500); 29 Mar 2013 18:31:47 -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 48825 invoked by uid 99); 29 Mar 2013 18:31:47 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 29 Mar 2013 18:31:47 +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; Fri, 29 Mar 2013 18:31:46 +0000 Received: from eris.apache.org (localhost [127.0.0.1]) by eris.apache.org (Postfix) with ESMTP id D9740238899C; Fri, 29 Mar 2013 18:31:26 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r1462581 - /subversion/trunk/subversion/include/svn_fs.h Date: Fri, 29 Mar 2013 18:31:26 -0000 To: commits@subversion.apache.org From: cmpilato@apache.org X-Mailer: svnmailer-1.0.8-patched Message-Id: <20130329183126.D9740238899C@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: cmpilato Date: Fri Mar 29 18:31:26 2013 New Revision: 1462581 URL: http://svn.apache.org/r1462581 Log: * subversion/include/svn_fs.h (svn_fs_process_contents_func_t): Rename 'pool' to 'scratch_pool', and update docstring for clarity. Modified: subversion/trunk/subversion/include/svn_fs.h Modified: subversion/trunk/subversion/include/svn_fs.h URL: http://svn.apache.org/viewvc/subversion/trunk/subversion/include/svn_fs.h?rev=1462581&r1=1462580&r2=1462581&view=diff ============================================================================== --- subversion/trunk/subversion/include/svn_fs.h (original) +++ subversion/trunk/subversion/include/svn_fs.h Fri Mar 29 18:31:26 2013 @@ -1882,11 +1882,11 @@ svn_fs_file_contents(svn_stream_t **cont apr_pool_t *pool); /** - * Callback function type that gets presented with a immutable non-NULL - * @a contents of @a len bytes. Further parameters may be passed through - * in @a baton. + * Callback function type used with svn_fs_try_process_file_contents() + * that delivers the immutable, non-NULL @a contents of @a len bytes. + * @a baton is an implementation-specific closure. * - * Allocations must be made in @a pool. + * Use @a scratch_pool for allocations. * * @since New in 1.8. */ @@ -1894,7 +1894,7 @@ typedef svn_error_t * (*svn_fs_process_contents_func_t)(const unsigned char *contents, apr_size_t len, void *baton, - apr_pool_t *pool); + apr_pool_t *scratch_pool); /** Efficiently deliver the contents of the file @a path in @a root * via @a processor (with @a baton), setting @a *success to @c TRUE