search for: daemon_filter_list

Displaying 4 results from an estimated 4 matches for "daemon_filter_list".

2010 Jun 02
1
DO NOT REPLY [Bug 7489] New: rsyncd segfaults using daemon exclude filter
...00 -0600 --- generator.c 2010-06-02 15:04:36.000000000 -0600 *************** *** 1300,1305 **** --- 1300,1311 ---- skip_dir = NULL; } + #ifdef SUPPORT_ACLS + sx.acc_acl = sx.def_acl = NULL; + #endif + #ifdef SUPPORT_XATTRS + sx.xattr = NULL; + #endif if (daemon_filter_list.head && (*fname != '.' || fname[1])) { if (check_filter(&daemon_filter_list, FLOG, fname, is_dir) < 0) { if (is_dir < 0) *************** *** 1317,1328 **** } } - #ifdef SUPPORT_ACLS - sx.acc_acl = sx.de...
2015 Jul 11
2
C coding tips please / Localisation
...AVE_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 line added for Locali...
2010 Jul 09
8
DO NOT REPLY [Bug 7565] New: --check-point=<TIME> +options.c.patch +generator.c.patch
...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 declarations. */ *...
2010 Jun 15
3
about rsyncing of block devices
Hiya, I can see it's a regular subject on this list. I, like others wanted to use rsync to synchronise two block devices (as it happens one lvm volume and one nbd device served by qemu-img on a remote host from a qcow2 disk image so that I can keep the old versions) As I couldn't find any report of it being done successfully, I'm just sharing my findings as it might benefit others.