Matt McCutchen's Web Site
/
rsync
/
rsync.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
not quite so many decimal places in "speedup" :-)
[rsync/rsync.git]
/
rsync.c
diff --git
a/rsync.c
b/rsync.c
index
cf57296
..
e359adc
100644
(file)
--- a/
rsync.c
+++ b/
rsync.c
@@
-561,7
+561,7
@@
static int receive_data(int f_in,struct map_struct *buf,int fd,char *fname)
sum_update(data,i);
sum_update(data,i);
- if (fd != -1 && write_
spars
e(fd,data,i) != i) {
+ if (fd != -1 && write_
fil
e(fd,data,i) != i) {
fprintf(FERROR,"write failed on %s : %s\n",fname,strerror(errno));
exit_cleanup(1);
}
fprintf(FERROR,"write failed on %s : %s\n",fname,strerror(errno));
exit_cleanup(1);
}
@@
-582,7
+582,7
@@
static int receive_data(int f_in,struct map_struct *buf,int fd,char *fname)
see_token(map, len);
sum_update(map,len);
see_token(map, len);
sum_update(map,len);
- if (fd != -1 && write_
spars
e(fd,map,len) != len) {
+ if (fd != -1 && write_
fil
e(fd,map,len) != len) {
fprintf(FERROR,"write failed on %s : %s\n",fname,strerror(errno));
exit_cleanup(1);
}
fprintf(FERROR,"write failed on %s : %s\n",fname,strerror(errno));
exit_cleanup(1);
}