Return-Path: Delivered-To: apmail-apr-dev-archive@www.apache.org Received: (qmail 76142 invoked from network); 19 Apr 2006 17:51:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 19 Apr 2006 17:51:21 -0000 Received: (qmail 84583 invoked by uid 500); 19 Apr 2006 17:51:19 -0000 Delivered-To: apmail-apr-dev-archive@apr.apache.org Received: (qmail 84549 invoked by uid 500); 19 Apr 2006 17:51:18 -0000 Mailing-List: contact dev-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Id: Delivered-To: mailing list dev@apr.apache.org Received: (qmail 84538 invoked by uid 99); 19 Apr 2006 17:51:18 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 10:51:18 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [151.189.21.47] (HELO mail-in-07.arcor-online.net) (151.189.21.47) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 19 Apr 2006 10:51:17 -0700 Received: from mail-in-08-z2.arcor-online.net (mail-in-08-z2.arcor-online.net [151.189.8.20]) by mail-in-07.arcor-online.net (Postfix) with ESMTP id A0FD814C99A for ; Wed, 19 Apr 2006 19:50:55 +0200 (CEST) Received: from mail-in-04.arcor-online.net (mail-in-04.arcor-online.net [151.189.21.44]) by mail-in-08-z2.arcor-online.net (Postfix) with ESMTP id 937B75281D for ; Wed, 19 Apr 2006 19:50:55 +0200 (CEST) Received: from [192.168.1.113] (dslb-084-056-231-043.pools.arcor-ip.net [84.56.231.43]) by mail-in-04.arcor-online.net (Postfix) with ESMTP id 6824A111A1F for ; Wed, 19 Apr 2006 19:50:55 +0200 (CEST) Message-ID: <44467808.6050501@apache.org> Date: Wed, 19 Apr 2006 19:48:56 +0200 From: Andreas Fester User-Agent: Mail/News 1.5 (X11/20060318) MIME-Version: 1.0 To: APR Development List Subject: Memory Pool Lifetime => patch Content-Type: multipart/mixed; boundary="------------070205020607020209060602" X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. --------------070205020607020209060602 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Hi, Max Bowsher wrote: [...] > If you discover that the pool semantics of any function are inadequately > documented, report that here, and it will be corrected. Max, thanks for the clarification about the APR pool usage. The attached patch slightly improves the pool semantics documentation for apr_socket_create(). Thanks & Best Regards, Andreas --------------070205020607020209060602 Content-Type: text/plain; name="apr_patch" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="apr_patch" --- apr_network_io.h1 2006-04-19 19:40:34.000000000 +0200 +++ apr_network_io.h 2006-04-19 19:41:56.000000000 +0200 @@ -276,7 +276,7 @@ * @param family The address family of the socket (e.g., APR_INET). * @param type The type of the socket (e.g., SOCK_STREAM). * @param protocol The protocol of the socket (e.g., APR_PROTO_TCP). - * @param cont The pool to use + * @param cont The pool for the apr_socket_t and associated storage. */ APR_DECLARE(apr_status_t) apr_socket_create(apr_socket_t **new_sock, int family, int type, --------------070205020607020209060602--