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
Mention a missing sender-side hash improvment that went out in 3.0.0.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
7c21f73
..
849851e
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-689,7
+689,7
@@
static struct file_struct *recv_file_entry(struct file_list *flist,
xbuf outbuf, inbuf;
INIT_CONST_XBUF(outbuf, thisname);
xbuf outbuf, inbuf;
INIT_CONST_XBUF(outbuf, thisname);
- INIT_XBUF(inbuf, lastname, basename_len, -1);
+ INIT_XBUF(inbuf, lastname, basename_len,
(size_t)
-1);
if (iconvbufs(ic_recv, &inbuf, &outbuf, 0) < 0) {
io_error |= IOERR_GENERAL;
if (iconvbufs(ic_recv, &inbuf, &outbuf, 0) < 0) {
io_error |= IOERR_GENERAL;
@@
-1242,8
+1242,8
@@
struct file_struct *make_file(const char *fname, struct file_list *flist,
if (protocol_version >= 28
? (!S_ISDIR(st.st_mode) && st.st_nlink > 1)
: S_ISREG(st.st_mode)) {
if (protocol_version >= 28
? (!S_ISDIR(st.st_mode) && st.st_nlink > 1)
: S_ISREG(st.st_mode)) {
- tmp_dev =
st.st_dev
;
- tmp_ino = st.st_ino;
+ tmp_dev =
(int64)st.st_dev + 1
;
+ tmp_ino =
(int64)
st.st_ino;
} else
tmp_dev = 0;
}
} else
tmp_dev = 0;
}