Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(344)

Issue 10907248: Don't use TEMP_FAILURE_RETRY macro with inet_addr (Closed)

Created:
8 years, 3 months ago by jackpal
Modified:
8 years, 3 months ago
CC:
reviews_dartlang.org
Visibility:
Public.

Description

Don't use TEMP_FAILURE_RETRY macro with inet_addr inet_addr is not a syscall, therefore it should not be used with the TEMP_FAILURE_RETRY macro. This fixes a warning in the Android build. Committed: https://code.google.com/p/dart/source/detail?r=12447

Patch Set 1 #

Patch Set 2 : Modify change list to remove description of potential infinite loop. Not sure it is really possible. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+3 lines, -8 lines) Patch
M runtime/bin/socket_android.cc View 1 chunk +1 line, -6 lines 0 comments Download
M runtime/bin/socket_linux.cc View 1 chunk +1 line, -1 line 0 comments Download
M runtime/bin/socket_macos.cc View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 2 (0 generated)
jackpal
The Android libc maintainer pointed out that inet_addr is not a syscall, and so it ...
8 years, 3 months ago (2012-09-15 00:49:52 UTC) #1
Mads Ager (google)
8 years, 3 months ago (2012-09-17 07:17:53 UTC) #2
LGTM, thanks!

Powered by Google App Engine
This is Rietveld 408576698