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
Corrected/enhanced a comment.
[rsync/rsync.git]
/
util.c
diff --git
a/util.c
b/util.c
index
79050d3
..
b78dba8
100644
(file)
--- a/
util.c
+++ b/
util.c
@@
-730,8
+730,8
@@
unsigned int clean_fname(char *name, BOOL collapse_dot_dot)
* The rootdir string contains a value to use in place of a leading slash.
* Specify NULL to get the default of lp_path(module_id).
*
* The rootdir string contains a value to use in place of a leading slash.
* Specify NULL to get the default of lp_path(module_id).
*
- * If depth is > 0, it is a count of how many '..'s to allow at the start
- * of the path.
+ * If depth is >
=
0, it is a count of how many '..'s to allow at the start
+ * of the path.
Use -1 to allow unlimited depth.
*
* We also clean the path in a manner similar to clean_fname() but with a
* few differences:
*
* We also clean the path in a manner similar to clean_fname() but with a
* few differences: