Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 36053 invoked from network); 1 Oct 2007 19:29:01 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 1 Oct 2007 19:29:00 -0000 Received: (qmail 64045 invoked by uid 500); 1 Oct 2007 19:28:50 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 63994 invoked by uid 500); 1 Oct 2007 19:28:50 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 63983 invoked by uid 99); 1 Oct 2007 19:28:50 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 12:28:50 -0700 X-ASF-Spam-Status: No, hits=-100.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 01 Oct 2007 19:29:00 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 2656C1A983A; Mon, 1 Oct 2007 12:28:10 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r581043 - /apr/apr/trunk/include/apr_thread_proc.h Date: Mon, 01 Oct 2007 19:28:09 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20071001192810.2656C1A983A@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: wrowe Date: Mon Oct 1 12:28:09 2007 New Revision: 581043 URL: http://svn.apache.org/viewvc?rev=581043&view=rev Log: Clearer comment. (Well, I think it's clearer :) Modified: apr/apr/trunk/include/apr_thread_proc.h Modified: apr/apr/trunk/include/apr_thread_proc.h URL: http://svn.apache.org/viewvc/apr/apr/trunk/include/apr_thread_proc.h?rev=581043&r1=581042&r2=581043&view=diff ============================================================================== --- apr/apr/trunk/include/apr_thread_proc.h (original) +++ apr/apr/trunk/include/apr_thread_proc.h Mon Oct 1 12:28:09 2007 @@ -77,7 +77,6 @@ /** @see apr_procattr_io_set */ #define APR_NO_PIPE 0 - /** @see apr_procattr_io_set */ #define APR_FULL_BLOCK 1 /** @see apr_procattr_io_set */ @@ -86,6 +85,8 @@ #define APR_PARENT_BLOCK 3 /** @see apr_procattr_io_set */ #define APR_CHILD_BLOCK 4 +/** @see apr_procattr_io_set */ +#define APR_NO_FILE 8 /** @see apr_procattr_io_set * @note Win32 only effective with version 1.2.12, portably introduced in 1.3.0 @@ -398,10 +399,11 @@ * @param out Should stdout be a pipe back to the parent? * @param err Should stderr be a pipe back to the parent? * @note If APR_NO_PIPE, there will be no special channel, the child - * inherit's the parent's stdio stream. If APR_NO_FILE is specified, - * that stdio stream is closed in the child (and will be INVALID_HANDLE_VALUE - * if inspected on Win32); warning this can have the ugly side effect - * that the next file opened may fall into the stdio stream role on Unix. + * inherits the parent's corresponding stdio stream. If APR_NO_FILE is + * specified, that corresponding stream is closed in the child (and will + * be INVALID_HANDLE_VALUE when inspected on Win32). This can have ugly + * side effects, as the next file opened in the child on Unix will fall + * into the stdio stream fd slot on Unix! */ APR_DECLARE(apr_status_t) apr_procattr_io_set(apr_procattr_t *attr, apr_int32_t in, apr_int32_t out,