Commit d730b113 authored by Andrew Tridgell's avatar Andrew Tridgell

final change needed to get rsync working on a CRAY J90

parent 7ae359c3
......@@ -270,8 +270,12 @@ static void readfd(int fd,char *buffer,int N)
int32 read_int(int f)
{
char b[4];
int32 ret;
readfd(f,b,4);
return IVAL(b,0);
ret = IVAL(b,0);
if (ret == (int32)0xffffffff) return -1;
return ret;
}
int64 read_longint(int f)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment