Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7ae359c
)
final change needed to get rsync working on a CRAY J90
author
Andrew Tridgell
<tridge@samba.org>
Thu, 29 Oct 1998 05:48:11 +0000
(
05:48
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Thu, 29 Oct 1998 05:48:11 +0000
(
05:48
+0000)
io.c
patch
|
blob
|
blame
|
history
diff --git
a/io.c
b/io.c
index
aafaeb3
..
9f6b228
100644
(file)
--- a/
io.c
+++ b/
io.c
@@
-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)