apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r569536 - /apr/apr/trunk/network_io/win32/sockets.c
Date Fri, 24 Aug 2007 21:54:30 GMT
Author: wrowe
Date: Fri Aug 24 14:54:30 2007
New Revision: 569536

URL: http://svn.apache.org/viewvc?rev=569536&view=rev
Log:
I was experimenting with options on ELSE_WIN_OS_IS_ANSI,
and realized this else combined with WCE is an oddball.

Modified:
    apr/apr/trunk/network_io/win32/sockets.c

Modified: apr/apr/trunk/network_io/win32/sockets.c
URL: http://svn.apache.org/viewvc/apr/apr/trunk/network_io/win32/sockets.c?rev=569536&r1=569535&r2=569536&view=diff
==============================================================================
--- apr/apr/trunk/network_io/win32/sockets.c (original)
+++ apr/apr/trunk/network_io/win32/sockets.c Fri Aug 24 14:54:30 2007
@@ -128,9 +128,13 @@
         SetHandleInformation((HANDLE) (*new)->socketdes, 
                              HANDLE_FLAG_INHERIT, 0);
     }
+#if APR_HAS_ANSI_FS
+    /* only if APR_HAS_ANSI_FS && APR_HAS_UNICODE_FS */
+    ELSE_WIN_OS_IS_ANSI
+#endif
 #endif
 #if APR_HAS_ANSI_FS || defined(_WIN32_WCE)
-    ELSE_WIN_OS_IS_ANSI {
+    {
         HANDLE hProcess = GetCurrentProcess();
         HANDLE dup;
         if (DuplicateHandle(hProcess, (HANDLE) (*new)->socketdes, hProcess, 



Mime
View raw message