Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 28366 invoked from network); 3 Aug 2010 05:54:21 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 Aug 2010 05:54:21 -0000 Received: (qmail 79853 invoked by uid 500); 3 Aug 2010 05:54:20 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 79748 invoked by uid 500); 3 Aug 2010 05:54:18 -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 79741 invoked by uid 99); 3 Aug 2010 05:54:17 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 03 Aug 2010 05:54:17 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.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; Tue, 03 Aug 2010 05:54:16 +0000 Received: by eris.apache.org (Postfix, from userid 65534) id 1166B23888DD; Tue, 3 Aug 2010 05:53:00 +0000 (UTC) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r981748 - /apr/apr/trunk/file_io/netware/pipe.c Date: Tue, 03 Aug 2010 05:53:00 -0000 To: commits@apr.apache.org From: fuankg@apache.org X-Mailer: svnmailer-1.0.8 Message-Id: <20100803055300.1166B23888DD@eris.apache.org> Author: fuankg Date: Tue Aug 3 05:52:59 2010 New Revision: 981748 URL: http://svn.apache.org/viewvc?rev=981748&view=rev Log: The Tab Police removed 24 tabs. Modified: apr/apr/trunk/file_io/netware/pipe.c Modified: apr/apr/trunk/file_io/netware/pipe.c URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/netware/pipe.c?rev=981748&r1=981747&r2=981748&view=diff ============================================================================== --- apr/apr/trunk/file_io/netware/pipe.c (original) +++ apr/apr/trunk/file_io/netware/pipe.c Tue Aug 3 05:52:59 2010 @@ -26,16 +26,16 @@ static apr_status_t pipeblock(apr_file_t *thepipe) { #ifdef USE_FLAGS - unsigned long flags; + unsigned long flags; - if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) - { - flags &= ~FNDELAY; - fcntl(thepipe->filedes, F_SETFL, flags); - } + if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) + { + flags &= ~FNDELAY; + fcntl(thepipe->filedes, F_SETFL, flags); + } #else errno = 0; - fcntl(thepipe->filedes, F_SETFL, 0); + fcntl(thepipe->filedes, F_SETFL, 0); #endif if (errno) @@ -48,17 +48,17 @@ static apr_status_t pipeblock(apr_file_t static apr_status_t pipenonblock(apr_file_t *thepipe) { #ifdef USE_FLAGS - unsigned long flags; + unsigned long flags; errno = 0; - if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) - { - flags |= FNDELAY; - fcntl(thepipe->filedes, F_SETFL, flags); - } + if (fcntl(thepipe->filedes, F_GETFL, &flags) != -1) + { + flags |= FNDELAY; + fcntl(thepipe->filedes, F_SETFL, flags); + } #else errno = 0; - fcntl(thepipe->filedes, F_SETFL, FNDELAY); + fcntl(thepipe->filedes, F_SETFL, FNDELAY); #endif if (errno) @@ -135,7 +135,7 @@ APR_DECLARE(apr_status_t) apr_os_pipe_pu APR_DECLARE(apr_status_t) apr_file_pipe_create(apr_file_t **in, apr_file_t **out, apr_pool_t *pool) { - int filedes[2]; + int filedes[2]; if (pipe(filedes) == -1) { return errno;