Return-Path: Delivered-To: apmail-apr-commits-archive@www.apache.org Received: (qmail 27287 invoked from network); 31 May 2007 22:30:52 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 31 May 2007 22:30:52 -0000 Received: (qmail 85314 invoked by uid 500); 31 May 2007 22:30:55 -0000 Delivered-To: apmail-apr-commits-archive@apr.apache.org Received: (qmail 85276 invoked by uid 500); 31 May 2007 22:30:55 -0000 Mailing-List: contact commits-help@apr.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: dev@apr.apache.org List-Id: Delivered-To: mailing list commits@apr.apache.org Received: (qmail 85265 invoked by uid 99); 31 May 2007 22:30:55 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 15:30:55 -0700 X-ASF-Spam-Status: No, hits=-99.5 required=10.0 tests=ALL_TRUSTED,NO_REAL_NAME X-Spam-Check-By: apache.org Received: from [140.211.11.3] (HELO eris.apache.org) (140.211.11.3) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 31 May 2007 15:30:51 -0700 Received: by eris.apache.org (Postfix, from userid 65534) id 439511A981D; Thu, 31 May 2007 15:30:31 -0700 (PDT) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r543288 - /apr/apr/branches/0.9.x/network_io/win32/sockets.c Date: Thu, 31 May 2007 22:30:31 -0000 To: commits@apr.apache.org From: wrowe@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070531223031.439511A981D@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org 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 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;