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

Unified Diff: runtime/bin/socket_linux.cc

Issue 10907248: Don't use TEMP_FAILURE_RETRY macro with inet_addr (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Modify change list to remove description of potential infinite loop. Not sure it is really possible. Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « runtime/bin/socket_android.cc ('k') | runtime/bin/socket_macos.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: runtime/bin/socket_linux.cc
diff --git a/runtime/bin/socket_linux.cc b/runtime/bin/socket_linux.cc
index 37ceda5726bb06433321375472ef1d5a22d3d970..05f225bd45728cb8fa16c40c16cd270c40a31be2 100644
--- a/runtime/bin/socket_linux.cc
+++ b/runtime/bin/socket_linux.cc
@@ -176,7 +176,7 @@ intptr_t ServerSocket::CreateBindListen(const char* host,
intptr_t fd;
struct sockaddr_in server_address;
- in_addr_t s_addr = TEMP_FAILURE_RETRY(inet_addr(host));
+ in_addr_t s_addr = inet_addr(host);
if (s_addr == INADDR_NONE) {
return -5;
}
« no previous file with comments | « runtime/bin/socket_android.cc ('k') | runtime/bin/socket_macos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698