Return-Path: Delivered-To: apmail-harmony-commits-archive@www.apache.org Received: (qmail 51293 invoked from network); 8 Mar 2007 07:49:23 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 8 Mar 2007 07:49:23 -0000 Received: (qmail 76147 invoked by uid 500); 8 Mar 2007 07:49:31 -0000 Delivered-To: apmail-harmony-commits-archive@harmony.apache.org Received: (qmail 76124 invoked by uid 500); 8 Mar 2007 07:49:31 -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 76115 invoked by uid 99); 8 Mar 2007 07:49:31 -0000 Received: from herse.apache.org (HELO herse.apache.org) (140.211.11.133) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 07 Mar 2007 23:49:31 -0800 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; Wed, 07 Mar 2007 23:49:22 -0800 Received: by eris.apache.org (Postfix, from userid 65534) id 1CE191A9838; Wed, 7 Mar 2007 23:49:02 -0800 (PST) Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: svn commit: r515959 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c Date: Thu, 08 Mar 2007 07:49:01 -0000 To: commits@harmony.apache.org From: pyang@apache.org X-Mailer: svnmailer-1.1.0 Message-Id: <20070308074902.1CE191A9838@eris.apache.org> X-Virus-Checked: Checked by ClamAV on apache.org Author: pyang Date: Wed Mar 7 23:49:01 2007 New Revision: 515959 URL: http://svn.apache.org/viewvc?view=rev&rev=515959 Log: recover patch for HARMONY-2387([classlib][luni] org.apache.harmony.tests.internal.net.www.protocol.http.HttpURLConnectionTest.testUsingProxy() intermittently fails) Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c Modified: harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c URL: http://svn.apache.org/viewvc/harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c?view=diff&rev=515959&r1=515958&r2=515959 ============================================================================== --- harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c (original) +++ harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c Wed Mar 7 23:49:01 2007 @@ -195,8 +195,6 @@ #define CDEV_CURRENT_FUNCTION findError -#define HYPORT_SUCCESS 0 - /** * @internal * Determines the proper portable error code to return given a native error code @@ -210,8 +208,6 @@ { switch (errorCode) { - case HYPORT_SUCCESS: - return HYPORT_SUCCESS; case HYPORT_ERROR_SOCKET_UNIX_EBADF: return HYPORT_ERROR_SOCKET_BADDESC; case HYPORT_ERROR_SOCKET_UNIX_ENOBUFS: