Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 94567 invoked from network); 18 Dec 2008 10:15:11 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 18 Dec 2008 10:15:11 -0000 Received: (qmail 10871 invoked by uid 500); 18 Dec 2008 10:15:23 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 10849 invoked by uid 500); 18 Dec 2008 10:15:23 -0000 Mailing-List: contact commits-help@harmony.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@harmony.apache.org Delivered-To: mailing list commits@harmony.apache.org Received: (qmail 10837 invoked by uid 99); 18 Dec 2008 10:15:23 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 02:15:23 -0800 X-ASF-Spam-Status: No, hits=-4.0 required=10.0 tests=RCVD_IN_DNSWL_MED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 18 Dec 2008 10:15:04 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 5CC01234C437 for ; Thu, 18 Dec 2008 02:14:44 -0800 (PST) Message-ID: <2072221125.1229595284378.JavaMail.jira@brutus> Date: Thu, 18 Dec 2008 02:14:44 -0800 (PST) From: "Regis Xu (JIRA)" To: commits@harmony.apache.org Subject: [jira] Updated: (HARMONY-6052) [classlib][luni] remove platform specific code in socket.c::pollSelectRead In-Reply-To: <1436098416.1229503124316.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/HARMONY-6052?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Regis Xu updated HARMONY-6052: ------------------------------ Attachment: HARMONY-6052.diff This patch remove the specific code for win32 and make select_read on Windows has the same behavior as Linux Anyone want to try it? > [classlib][luni] remove platform specific code in socket.c::pollSelectRead > -------------------------------------------------------------------------- > > Key: HARMONY-6052 > URL: https://issues.apache.org/jira/browse/HARMONY-6052 > Project: Harmony > Issue Type: Improvement > Components: Classlib > Affects Versions: 5.0M8 > Reporter: Regis Xu > Fix For: 5.0M9 > > Attachments: HARMONY-6052.diff > > > in socket.c::pollSelectRead, there are some codes like: > #if defined(WIN32) > .... > #else > .... > #endif > It seems hysock_select_read has different behaviors between Windows and Linux, (maybe return value means different things?) > I think these platform specific codes could be move to portlib and make socket.c more clear. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.