search for: filter_list_struct

Displaying 6 results from an estimated 6 matches for "filter_list_struct".

2005 Jan 31
1
[patch] add "--ignore" option
...t is included, and 0 if it was not matched. + * Return M_EXCLUDE if file "name" is defined to be excluded by the specified + * exclude list, M_INCLUDE if it is included, M_IGNORE if it is flagged to be + * ignored, and M_NOMATCH (aka 0) if it was not matched. */ -int check_filter(struct filter_list_struct *listp, char *name, int name_is_dir) +enum matchtype check_filter(struct filter_list_struct *listp, char *name, int name_is_dir) { struct filter_struct *ent; for (ent = listp->head; ent; ent = ent->next) { if (ent->match_flags & MATCHFLG_PERDIR_MERGE) { - int rc = check_fil...
2015 Jul 11
2
C coding tips please / Localisation
...amp;& defined HAVE_LOCALE_H #include <libintl.h> #include <locale.h> #endif extern int verbose; Further down, below a lot of "extern" declarations, I added the following line ... #define _(String) gettext (String) ... so that the code becomes as follows. extern struct filter_list_struct daemon_filter_list; uid_t our_uid; int am_receiver = 0; /* Only set to 1 after the receiver/generator fork. */ int am_generator = 0; /* Only set to 1 after the receiver/generator fork. */ int local_server = 0; int daemon_over_rsh = 0; mode_t orig_umask = 0; int batch_gen_fd = -1; /* Following li...
2006 Jan 06
2
DO NOT REPLY [Bug 3382] New: hang in read() in exclude.test of testsuite
...e(ch)) 1005 break; 1006 if (eol_nulls? !ch : (ch == '\n' || ch == '\r')) 1007 break; 1008 if (s < eob) (ladebug) n stopped at [void parse_filter_file(struct filter_list_struct*, const char*, unsigned int, int):1000 0x1200235c4] 1000 if (ferror(fp) && errno == EINTR) (ladebug) print fp 0x3ffc0080050 (ladebug) print errno 4 (ladebug) print line "- /mid/for/foo/extra" I checked errno.h, and "4" is ind...
2005 Nov 01
2
request: add TCP buffer options to rsync CLI?
Dear rsync folks, I'd like to request/suggest that cli options to set TCP send/receive buffers be added to rsync client-side. Summary: I'm aware that a daemon's config-file can set socket options for the server side (e.g. SO_SNDBUF, SO_RCVBUF). That is useful. But when trying to get high-throughput rsync over long paths (i.e. large bandwidth*delay product), since
2007 Sep 22
0
rsync build on IA64 using icc
...y source file extern int backup_suffix_len; ^ generator.c(93): remark #1419: external declaration in primary source file extern struct file_list *the_file_list; ^ generator.c(94): remark #1419: external declaration in primary source file extern struct filter_list_struct server_filter_list; ^ generator.c(141): remark #981: operands are evaluated in unspecified order full_fname(fname)); ^ generator.c(140): remark #981: operands are evaluated in unspecified order rsyserr(FERROR, errno, "delete_file: unlink %s fa...
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
.../generator.c 2010-07-09 15:36:01.000000000 +0300 *************** *** 96,101 **** --- 96,102 ---- extern char *backup_dir; extern char *backup_suffix; extern int backup_suffix_len; + extern long check_point; extern struct file_list *cur_flist, *first_flist, *dir_flist; extern struct filter_list_struct daemon_filter_list; *************** *** 132,138 **** }; enum delret { ! DR_SUCCESS = 0, DR_FAILURE, DR_AT_LIMIT, DR_NOT_EMPTY }; /* Forward declarations. */ --- 133,139 ---- }; enum delret { ! DR_SUCCESS = 0, DR_FAILURE, DR_AT_LIMIT, DR_NOT_EMPTY, DR_NEWER }; /* Forward...