harmony-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From py...@apache.org
Subject svn commit: r514596 - /harmony/enhanced/classlib/trunk/modules/portlib/src/main/native/port/unix/hysock.c
Date Mon, 05 Mar 2007 07:55:58 GMT
Author: pyang
Date: Sun Mar  4 23:55:57 2007
New Revision: 514596

URL: http://svn.apache.org/viewvc?view=rev&rev=514596
Log:
apply patch for HARMONY-2387 (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=514596&r1=514595&r2=514596
==============================================================================
--- 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 Sun
Mar  4 23:55:57 2007
@@ -195,6 +195,8 @@
 
 #define CDEV_CURRENT_FUNCTION findError
 
+#define HYPORT_SUCCESS 0
+
 /**
  * @internal
  * Determines the proper portable error code to return given a native error code
@@ -208,6 +210,8 @@
 {
   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:



Mime
View raw message