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

Unified Diff: runtime/bin/socket.h

Issue 8662006: Fix a number of issues with the process handling (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Rebase Created 9 years, 1 month 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
Index: runtime/bin/socket.h
diff --git a/runtime/bin/socket.h b/runtime/bin/socket.h
index 2823adae00a07a1af7a1f5c0f60b3de821a64e36..433565549e4912bf67975ccbd26cc70873d3d486 100644
--- a/runtime/bin/socket.h
+++ b/runtime/bin/socket.h
@@ -13,8 +13,8 @@ class Socket {
public:
static bool Initialize();
static intptr_t Available(intptr_t fd);
- static intptr_t Read(intptr_t fd, void* buffer, intptr_t num_bytes);
- static intptr_t Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
+ static int Read(intptr_t fd, void* buffer, intptr_t num_bytes);
+ static int Write(intptr_t fd, const void* buffer, intptr_t num_bytes);
static intptr_t CreateConnect(const char* host, const intptr_t port);
static intptr_t GetPort(intptr_t fd);
static intptr_t GetStdioHandle(int num);

Powered by Google App Engine
This is Rietveld 408576698