apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From fua...@apache.org
Subject svn commit: r981748 - /apr/apr/trunk/file_io/netware/pipe.c
Date Tue, 03 Aug 2010 05:53:00 GMT
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;



Mime
View raw message