Matt McCutchen's Web Site
/
rsync
/
rsync-patches.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
ab74148
)
One minor tweak.
author
Wayne Davison
<wayned@samba.org>
Sun, 6 Jun 2004 21:29:38 +0000
(21:29 +0000)
committer
Wayne Davison
<wayned@samba.org>
Sun, 6 Jun 2004 21:29:38 +0000
(21:29 +0000)
fname-convert.diff
patch
|
blob
|
blame
|
history
diff --git
a/fname-convert.diff
b/fname-convert.diff
index
6efc8f4
..
6622906
100644
(file)
--- a/
fname-convert.diff
+++ b/
fname-convert.diff
@@
-97,7
+97,7
@@
autoconf and 'make proto'.
extern char *files_from;
extern int filesfrom_fd;
extern char *files_from;
extern int filesfrom_fd;
-@@ -346,7 +347,1
1
@@ void send_file_entry(struct file_struct
+@@ -346,7 +347,1
0
@@ void send_file_entry(struct file_struct
io_write_phase = "send_file_entry";
io_write_phase = "send_file_entry";
@@
-106,11
+106,10
@@
autoconf and 'make proto'.
+ convert_fname(fname, f_name(file), MAXPATHLEN);
+ else
+ f_name_to(file, fname);
+ convert_fname(fname, f_name(file), MAXPATHLEN);
+ else
+ f_name_to(file, fname);
-+
flags = base_flags;
flags = base_flags;
-@@ -559,6 +56
4
,9 @@ void receive_file_entry(struct file_stru
+@@ -559,6 +56
3
,9 @@ void receive_file_entry(struct file_stru
strlcpy(lastname, thisname, MAXPATHLEN);
strlcpy(lastname, thisname, MAXPATHLEN);
@@
-120,7
+119,7
@@
autoconf and 'make proto'.
clean_fname(thisname);
if (sanitize_paths)
clean_fname(thisname);
if (sanitize_paths)
-@@ -1041,6 +104
9
,9 @@ struct file_list *send_file_list(int f,
+@@ -1041,6 +104
8
,9 @@ struct file_list *send_file_list(int f,
start_write = stats.total_written;
start_write = stats.total_written;
@@
-130,7
+129,7
@@
autoconf and 'make proto'.
flist = flist_new(f == -1 ? WITHOUT_HLINK : WITH_HLINK,
"send_file_list");
flist = flist_new(f == -1 ? WITHOUT_HLINK : WITH_HLINK,
"send_file_list");
-@@ -1215,6 +122
6
,9 @@ struct file_list *send_file_list(int f,
+@@ -1215,6 +122
5
,9 @@ struct file_list *send_file_list(int f,
write_batch_flist_info(flist->count, flist->files);
}
write_batch_flist_info(flist->count, flist->files);
}
@@
-140,7
+139,7
@@
autoconf and 'make proto'.
if (verbose > 3)
output_flist(flist);
if (verbose > 3)
output_flist(flist);
-@@ -1237,6 +125
1
,9 @@ struct file_list *recv_file_list(int f)
+@@ -1237,6 +125
0
,9 @@ struct file_list *recv_file_list(int f)
start_read = stats.total_read;
start_read = stats.total_read;
@@
-150,7
+149,7
@@
autoconf and 'make proto'.
flist = flist_new(WITH_HLINK, "recv_file_list");
flist->count = 0;
flist = flist_new(WITH_HLINK, "recv_file_list");
flist->count = 0;
-@@ -1291,6 +130
8
,9 @@ struct file_list *recv_file_list(int f)
+@@ -1291,6 +130
7
,9 @@ struct file_list *recv_file_list(int f)
}
}
}
}