/[classpath]/classpath/native/jni/java-net/javanet.c
ViewVC logotype

Diff of /classpath/native/jni/java-net/javanet.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.18.2.4 by gnu_andrew, Tue Aug 2 20:12:40 2005 UTC revision 1.18.2.5 by gnu_andrew, Tue Sep 20 18:46:38 2005 UTC
# Line 857  _javanet_accept (JNIEnv * env, jobject t Line 857  _javanet_accept (JNIEnv * env, jobject t
857                != TARGET_NATIVE_ERROR_INTERRUPT_FUNCTION_CALL))                != TARGET_NATIVE_ERROR_INTERRUPT_FUNCTION_CALL))
858          {          {
859            JCL_ThrowException (env, IO_EXCEPTION,            JCL_ThrowException (env, IO_EXCEPTION,
860                                "Internal error: _javanet_accept(): ");                                TARGET_NATIVE_LAST_ERROR_STRING ());
861            return;            return;
862          }          }
863      }      }
# Line 1542  _javanet_shutdownInput (JNIEnv * env, jo Line 1542  _javanet_shutdownInput (JNIEnv * env, jo
1542    /* Shutdown input stream of socket. */    /* Shutdown input stream of socket. */
1543    if (shutdown (fd, SHUT_RD) == -1)    if (shutdown (fd, SHUT_RD) == -1)
1544      {      {
1545        JCL_ThrowException (env, SOCKET_EXCEPTION,        JCL_ThrowException (env, SOCKET_EXCEPTION, strerror (errno));
                           "Can't shutdown input of socket");  
1546        return;        return;
1547      }      }
1548  }  }
# Line 1568  _javanet_shutdownOutput (JNIEnv * env, j Line 1567  _javanet_shutdownOutput (JNIEnv * env, j
1567    /* Shutdown output stream of socket. */    /* Shutdown output stream of socket. */
1568    if (shutdown (fd, SHUT_WR) == -1)    if (shutdown (fd, SHUT_WR) == -1)
1569      {      {
1570        JCL_ThrowException (env, SOCKET_EXCEPTION,        JCL_ThrowException (env, SOCKET_EXCEPTION, strerror (errno));
                           "Can't shutdown output of socket");  
1571        return;        return;
1572      }      }
1573  }  }

Legend:
Removed from v.1.18.2.4  
changed lines
  Added in v.1.18.2.5

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26