diff options
author | Andrew Tridgell <tridge@samba.org> | 1998-10-29 05:48:11 +0000 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 1998-10-29 05:48:11 +0000 |
commit | d730b113f4608a952f7d6ad6efc35a7cb11be18c (patch) | |
tree | 800957825e04f73e5169a33d8673993312d0dc33 /io.c | |
parent | 7ae359c331afedbab7a9d572cf78495b2bf92dbf (diff) | |
download | rsync-d730b113f4608a952f7d6ad6efc35a7cb11be18c.tar.gz |
final change needed to get rsync working on a CRAY J90
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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) |