apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r543286 - /apr/apr/trunk/network_io/win32/sockets.c
Date Thu, 31 May 2007 22:29:07 GMT
Author: wrowe
Date: Thu May 31 15:29:06 2007
New Revision: 543286

URL: http://svn.apache.org/viewvc?view=rev&rev=543286
Log:
SetHandleInformation is not supported on WinCE, but the Win 9x code path 
works fine if enabled (testsockets passes).  Modifes the #if's so the 
Win9x code path is also used for WinCE.

PR: 39859
Submitted by: Curt Arnold <carnold apache.org>

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?view=diff&rev=543286&r1=543285&r2=543286
==============================================================================
--- apr/apr/trunk/network_io/win32/sockets.c (original)
+++ apr/apr/trunk/network_io/win32/sockets.c Thu May 31 15:29:06 2007
@@ -114,7 +114,7 @@
      * purposes, always transform the socket() created as a non-inherited
      * handle
      */
-#if APR_HAS_UNICODE_FS
+#if APR_HAS_UNICODE_FS && !defined(_WIN32_WCE)
     IF_WIN_OS_IS_UNICODE {
         /* A different approach.  Many users report errors such as 
          * (32538)An operation was attempted on something that is not 
@@ -129,7 +129,7 @@
                              HANDLE_FLAG_INHERIT, 0);
     }
 #endif
-#if APR_HAS_ANSI_FS
+#if APR_HAS_ANSI_FS || defined(_WIN32_WCE)
     ELSE_WIN_OS_IS_ANSI {
         HANDLE hProcess = GetCurrentProcess();
         HANDLE dup;



Mime
View raw message