apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From traw...@apache.org
Subject svn commit: r1675572 - /apr/apr/branches/1.6.x/file_io/win32/pipe.c
Date Thu, 23 Apr 2015 10:57:56 GMT
Author: trawick
Date: Thu Apr 23 10:57:56 2015
New Revision: 1675572

URL: http://svn.apache.org/r1675572
Log:
backport minor whitespace tweaks from trunk

Modified:
    apr/apr/branches/1.6.x/file_io/win32/pipe.c

Modified: apr/apr/branches/1.6.x/file_io/win32/pipe.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/1.6.x/file_io/win32/pipe.c?rev=1675572&r1=1675571&r2=1675572&view=diff
==============================================================================
--- apr/apr/branches/1.6.x/file_io/win32/pipe.c (original)
+++ apr/apr/branches/1.6.x/file_io/win32/pipe.c Thu Apr 23 10:57:56 2015
@@ -46,7 +46,8 @@ APR_DECLARE(apr_status_t) apr_file_pipe_
         return APR_ENOTIMPL;
     }
     if (timeout && !(thepipe->pOverlapped)) {
-        /* Cannot be nonzero if a pipe was opened blocking */
+        /* Cannot be nonzero if a pipe was opened blocking
+         */
         return APR_EINVAL;
     }
     thepipe->timeout = timeout;
@@ -160,12 +161,12 @@ APR_DECLARE(apr_status_t) apr_file_pipe_
         }
 
         (*out)->filehand = CreateFile(name,
-                                      GENERIC_WRITE, /* access mode             */
-                                      0,             /* share mode              */
-                                      &sa,           /* Security attributes     */
-                                      OPEN_EXISTING, /* dwCreationDisposition   */
-                                      dwOpenMode,    /* Pipe attributes         */
-                                      NULL);         /* handle to template file */
+                                      GENERIC_WRITE,   /* access mode             */
+                                      0,               /* share mode              */
+                                      &sa,             /* Security attributes     */
+                                      OPEN_EXISTING,   /* dwCreationDisposition   */
+                                      dwOpenMode,      /* Pipe attributes         */
+                                      NULL);           /* handle to template file */
     }
     else {
         /* Pipes on Win9* are blocking. Live with it. */



Mime
View raw message