• R/O
  • HTTP
  • SSH
  • HTTPS

提交

标签
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

system/corennnnn


Commit MetaInfo

修订版4cd6e915e5722e32b304992b9c74924452519986 (tree)
时间2009-05-23 01:30:24
作者Android (Google) Code Review <android-gerrit@goog...>
CommiterAndroid (Google) Code Review

Log Message

Merge change 2329

* changes:

Fix bug where ECONNABORTED would have always occured on asocket_write.

更改概述

差异

--- a/libcutils/abort_socket.c
+++ b/libcutils/abort_socket.c
@@ -239,7 +239,7 @@ int asocket_write(struct asocket *s, const void *buf, size_t count,
239239 }
240240
241241 if (pfd[0].revents) {
242- if (pfd[0].revents & POLLIN) {
242+ if (pfd[0].revents & POLLOUT) {
243243 /* ready to write() without blocking */
244244 do {
245245 ret = write(s->fd, buf, count);