Ticket #13465: patch-socket_h

File patch-socket_h, 430 bytes (added by x07simbj@…, 17 years ago)
Line 
1--- runtime/debugging/socket.h.orig     2007-11-28 19:27:14.000000000 +0100
2+++ runtime/debugging/socket.h  2007-11-23 14:27:02.000000000 +0100
3@@ -38,7 +38,7 @@
4 #include <netdb.h>
5 
6 #define _rmldb_socket_send(x,y,z) write(x,y,z)
7-#define _rmldb_socket_recv(x,y,z) read(x,y,z)
8+#define _rmldb_socket_recv(x,y,z) recv(x,y,z,0)
9 #define _rmldb_socket_close close
10 #define _rmldb_socket_errorno errno
11 #define SOCKET_ERROR (-1)