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
Attempt to avoid a problem with --copy-unsafe-links where a symlink was
[rsync/rsync.git]
/
t_unsafe.c
diff --git
a/t_unsafe.c
b/t_unsafe.c
index
550bc4b
..
12908f4
100644
(file)
--- a/
t_unsafe.c
+++ b/
t_unsafe.c
@@
-42,7
+42,7
@@
main(int argc, char **argv)
}
printf("%s\n",
- unsafe_symlink(argv[1],
argv[2]
) ? "unsafe" : "safe");
+ unsafe_symlink(argv[1],
path_depth(argv[2])
) ? "unsafe" : "safe");
return 0;
}