git.samba.org
/
rsync.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8a5b8b2
)
don't treat intermediate link directories as links in the relative
author
Andrew Tridgell
<tridge@samba.org>
Sat, 23 May 1998 03:13:46 +0000
(
03:13
+0000)
committer
Andrew Tridgell
<tridge@samba.org>
Sat, 23 May 1998 03:13:46 +0000
(
03:13
+0000)
path code
flist.c
patch
|
blob
|
history
diff --git
a/flist.c
b/flist.c
index d3c07edc16e506c334667ae4ac4ae19d0a92eb69..01bcb29cb30e13141da91cb6ca9174feed52252c 100644
(file)
--- a/
flist.c
+++ b/
flist.c
@@
-625,8
+625,11
@@
struct file_list *send_file_list(int f,int argc,char *argv[])
strlcpy(lastpath, fname, sizeof(lastpath)-1);
*p = '/';
for (p=fname+1; (p=strchr(p,'/')); p++) {
+ int copy_links_saved = copy_links;
*p = 0;
+ copy_links = 0;
send_file_name(f, flist, fname, 0, 0);
+ copy_links = copy_links_saved;
*p = '/';
}
} else {