extern int relative_paths;
extern int implied_dirs;
extern int file_extra_cnt;
-@@ -379,7 +380,7 @@ int push_pathname(const char *dir, int len)
+@@ -384,7 +385,7 @@ int change_pathname(struct file_struct *file, const char *dir, int dirlen)
static void send_file_entry(int f, const char *fname, struct file_struct *file, int ndx, int first_ndx)
{
static mode_t mode;
#ifdef SUPPORT_HARD_LINKS
static int64 dev;
-@@ -457,6 +458,13 @@ static void send_file_entry(int f, const char *fname, struct file_struct *file,
+@@ -458,6 +459,13 @@ static void send_file_entry(int f, const char *fname, struct file_struct *file,
xflags |= XMIT_SAME_TIME;
else
modtime = file->modtime;
if (unsort_ndx)
F_NDX(file) = flist->used + flist->ndx_start;
-@@ -1215,6 +1237,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
+@@ -1226,6 +1248,8 @@ struct file_struct *make_file(const char *fname, struct file_list *flist,
F_OWNER(file) = st.st_uid;
if (gid_ndx) /* Check gid_ndx instead of preserve_gid for del support */
F_GROUP(file) = st.st_gid;
f_name(f, NULL));
}
}
-@@ -2017,7 +2026,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx)
+@@ -2016,7 +2025,7 @@ static void touch_up_dirs(struct file_list *flist, int ndx)
STRUCT_STAT st;
if (link_stat(fname, &st, 0) == 0
&& cmp_time(st.st_mtime, file->modtime) != 0)
/* These flags are used in the live flist data. */
-@@ -151,6 +152,7 @@
+@@ -152,6 +153,7 @@
#define ATTRS_REPORT (1<<0)
#define ATTRS_SKIP_MTIME (1<<1)
#define FULL_FLUSH 1
#define NORMAL_FLUSH 0
-@@ -622,12 +624,14 @@ extern int file_extra_cnt;
+@@ -626,12 +628,14 @@ extern int file_extra_cnt;
extern int inc_recurse;
extern int uid_ndx;
extern int gid_ndx;