From abf5689bc2d8826f34925a641cff63786b0ccf37 Mon Sep 17 00:00:00 2001 From: bdemsky Date: Fri, 25 Feb 2011 01:06:18 +0000 Subject: [PATCH] rename a few fields --- Robust/src/Runtime/socket.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/Robust/src/Runtime/socket.c b/Robust/src/Runtime/socket.c index 8812ea85..e9e73d45 100644 --- a/Robust/src/Runtime/socket.c +++ b/Robust/src/Runtime/socket.c @@ -299,7 +299,7 @@ int CALL02(___ServerSocket______nativeaccept____L___Socket___,struct ___ServerSo #else struct sockaddr_in sin; unsigned int sinlen=sizeof(sin); - int fd=VAR(___this___)->___ServerSocket______fd___; + int fd=VAR(___this___)->___fd___; int newfd; #if defined(THREADS)||defined(DSTM)||defined(STM) #ifdef PRECISE_GC @@ -348,7 +348,7 @@ int CALL02(___ServerSocket______nativeaccept____L___Socket___,struct ___ServerSo void CALL24(___Socket______nativeWrite_____AR_B_I_I, int offset, int length, struct ___Socket___ * ___this___, struct ArrayObject * ___b___, int offset, int length) { #ifdef MULTICORE #else - int fd=VAR(___this___)->___Socket______fd___; + int fd=VAR(___this___)->___fd___; char * charstr=((char *)&VAR(___b___)->___length___)+sizeof(int)+offset; while(1) { int offset=0; @@ -374,7 +374,7 @@ int CALL02(___Socket______nativeRead_____AR_B, struct ___Socket___ * ___this___, #ifdef MULTICORE return -1; #else - int fd=VAR(___this___)->___Socket______fd___; + int fd=VAR(___this___)->___fd___; int length=VAR(___b___)->___length___; char * charstr=malloc(length); @@ -426,7 +426,7 @@ int CALL02(___Socket______nativeRead_____AR_B, struct ___Socket___ * ___this___, void CALL01(___Socket______nativeClose____, struct ___Socket___ * ___this___) { #ifdef MULTICORE #else - int fd=VAR(___this___)->___Socket______fd___; + int fd=VAR(___this___)->___fd___; int data; #ifdef TASK RuntimeHashget(fdtoobject, fd, &data); -- 2.34.1