Displaying 3 results from an estimated 3 matches for "filter_level".
2005 Jan 31
1
[patch] add "--ignore" option
...flist.c ./flist.c
--- ../rsync-HEAD-20050125-1221GMT.orig/flist.c Tue Jan 25 12:21:14 2005
+++ ./flist.c Thu Jan 27 17:12:25 2005
@@ -223,8 +223,9 @@
/* This function is used to check if a file should be included/excluded
* from the list of files based on its name and type etc. The value of
* filter_level is set to either SERVER_FILTERS or ALL_FILTERS. */
-static int is_excluded(char *fname, int is_dir, int filter_level)
+static enum matchtype is_excluded(char *fname, int is_dir, int
filter_level)
{
+ enum matchtype r;
#if 0 /* This currently never happens, so avoid a useless compare. */
if (fil...
2007 Aug 20
5
DO NOT REPLY [Bug 4899] New: When a mounted dir cannot be visited, rsync will halt there and the shell is halted, even "ctrl -c" can't quit it.
...e is not due to rsync. But if the mountd dir is filtered out,
rsync should work well.
Solution:
Modified "flist.c",
struct file_struct *make_file(char *fname, struct file_list *flist,
STRUCT_STAT *stp, unsigned short flags,
int filter_level)
{
...
memset(sum, 0, SUM_LENGTH);
/* In case a mounted dir crashed, than stat will hang there even
the dir has been filtered */
if (filter_level != NO_FILTERS
&& is_excluded(thisname, 1, filter_level)) {
rprintf(FINFO, "E...
2011 Apr 01
3
[Bug 8053] New: Older C compilers don't allow in-line declarations flist.c:1653
...'.' && dname[2] == '\0')))
continue;
+ {
unsigned name_len = strlcpy(p, dname, remainder);
if (name_len >= remainder) {
@@ -1671,4 +1672,5 @@
send_file_name(f, flist, fbuf, NULL, flags, filter_level);
+ }
}
--
Configure bugmail: https://bugzilla.samba.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.