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
- Document the new "/" modifier for -/+.
[rsync/rsync.git]
/
flist.c
diff --git
a/flist.c
b/flist.c
index
bd11432
..
5fcd54d
100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-531,7
+531,7
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
static gid_t gid;
static char lastname[MAXPATHLEN], *lastdir;
static int lastdir_depth, lastdir_len = -1;
static gid_t gid;
static char lastname[MAXPATHLEN], *lastdir;
static int lastdir_depth, lastdir_len = -1;
- static unsigned int del_heir_name_len =
-1
;
+ static unsigned int del_heir_name_len =
0
;
static int in_del_hier = 0;
char thisname[MAXPATHLEN];
unsigned int l1 = 0, l2 = 0;
static int in_del_hier = 0;
char thisname[MAXPATHLEN];
unsigned int l1 = 0, l2 = 0;
@@
-546,7
+546,7
@@
void receive_file_entry(struct file_struct **fptr, unsigned short flags,
rdev_major = 0;
uid = 0, gid = 0;
*lastname = '\0';
rdev_major = 0;
uid = 0, gid = 0;
*lastname = '\0';
-
del_heir_name_len =
lastdir_len = -1;
+ lastdir_len = -1;
in_del_hier = 0;
return;
}
in_del_hier = 0;
return;
}
@@
-925,7
+925,7
@@
skip_filters:
memcpy(bp, basename, basename_len);
bp += basename_len;
memcpy(bp, basename, basename_len);
bp += basename_len;
-#if
def
HAVE_STRUCT_STAT_ST_RDEV
+#if HAVE_STRUCT_STAT_ST_RDEV
if (preserve_devices && IS_DEVICE(st.st_mode))
file->u.rdev = st.st_rdev;
#endif
if (preserve_devices && IS_DEVICE(st.st_mode))
file->u.rdev = st.st_rdev;
#endif