summaryrefslogtreecommitdiff
path: root/include/ScopedJavaUnicodeString.h
diff options
context:
space:
mode:
authorElliott Hughes <enh@google.com>2010-05-04 18:06:21 -0700
committerElliott Hughes <enh@google.com>2010-05-04 18:06:21 -0700
commitb375c0ce8372b1343cfd9aa27698df1227c0b4e5 (patch)
treea4d377d98c83f598e0d3a5a497c03f1e4722b0b7 /include/ScopedJavaUnicodeString.h
parent0ebe2220e2828228b3d9b1003fbc5a47d80872e7 (diff)
Remove use of non-errno error codes in OSNetworkSystem.
This code's confusing enough without being so idiosyncratic. I've also changed the native method so it returns a boolean rather leaking errno values in Java. Where the original code used ENOTCONN, I've reverted to the native API's EINPROGRESS for clarity. I've also used TEMP_FAILURE_RETRY to avoid manually messing about with EINTR. While I was here, I fixed a TODO about not needlessly passing a sockaddr_storage by value, and removed a dead part of the old getsockopt code I'd forgotten to remove. Change-Id: I3c62fb80e33747619961ff39a0867422769126c4
Diffstat (limited to 'include/ScopedJavaUnicodeString.h')
0 files changed, 0 insertions, 0 deletions