apr-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@apache.org
Subject svn commit: r543288 - /apr/apr/branches/0.9.x/network_io/win32/sockets.c
Date Thu, 31 May 2007 22:30:31 GMT
Author: wrowe
Date: Thu May 31 15:30:30 2007
New Revision: 543288

URL: http://svn.apache.org/viewvc?view=rev&rev=543288
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>
Backport: 543286

Modified:
    apr/apr/branches/0.9.x/network_io/win32/sockets.c

Modified: apr/apr/branches/0.9.x/network_io/win32/sockets.c
URL: http://svn.apache.org/viewvc/apr/apr/branches/0.9.x/network_io/win32/sockets.c?view=diff&rev=543288&r1=543287&r2=543288
==============================================================================
--- apr/apr/branches/0.9.x/network_io/win32/sockets.c (original)
+++ apr/apr/branches/0.9.x/network_io/win32/sockets.c Thu May 31 15:30:30 2007
@@ -108,7 +108,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 
@@ -123,7 +123,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