You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by tr...@apache.org on 2015/04/23 12:56:39 UTC
svn commit: r1675571 - /apr/apr/trunk/file_io/win32/pipe.c
Author: trawick
Date: Thu Apr 23 10:56:39 2015
New Revision: 1675571
URL: http://svn.apache.org/r1675571
Log:
fix whitespace regression compared with 1.6.x
Modified:
apr/apr/trunk/file_io/win32/pipe.c
Modified: apr/apr/trunk/file_io/win32/pipe.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/file_io/win32/pipe.c?rev=1675571&r1=1675570&r2=1675571&view=diff
==============================================================================
--- apr/apr/trunk/file_io/win32/pipe.c (original)
+++ apr/apr/trunk/file_io/win32/pipe.c Thu Apr 23 10:56:39 2015
@@ -85,7 +85,7 @@ APR_DECLARE(apr_status_t) apr_file_pipe_
char name[50];
sa.nLength = sizeof(sa);
-
+
#if APR_HAS_UNICODE_FS
IF_WIN_OS_IS_UNICODE
sa.bInheritHandle = FALSE;
@@ -145,9 +145,9 @@ APR_DECLARE(apr_status_t) apr_file_pipe_
dwOpenMode,
dwPipeMode,
1, /* nMaxInstances, */
- 0, /* nOutBufferSize, */
- 65536, /* nInBufferSize, */
- 1, /* nDefaultTimeOut, */
+ 0, /* nOutBufferSize, */
+ 65536, /* nInBufferSize, */
+ 1, /* nDefaultTimeOut, */
&sa);
/* Create the write end of the pipe */
@@ -159,7 +159,7 @@ APR_DECLARE(apr_status_t) apr_file_pipe_
(*out)->pOverlapped->hEvent = CreateEvent(NULL, FALSE, FALSE, NULL);
(*out)->timeout = 0;
}
-
+
(*out)->filehand = CreateFile(name,
GENERIC_WRITE, /* access mode */
0, /* share mode */
@@ -235,7 +235,7 @@ APR_DECLARE(apr_status_t) apr_os_pipe_pu
static apr_status_t create_socket_pipe(SOCKET *rd, SOCKET *wr)
{
static int id = 0;
- FD_SET rs;
+ FD_SET rs;
SOCKET ls;
struct timeval socktm;
struct sockaddr_in pa;