search for: append_mode

Displaying 8 results from an estimated 8 matches for "append_mode".

2011 Aug 14
0
Improved version of Rprofmem
...file '%s'"), filename); + } + else + R_MemReportingOutfile = NULL; + R_IsMemReporting = 1; + return; } SEXP attribute_hidden do_Rprofmem(SEXP call, SEXP op, SEXP args, SEXP rho) { - SEXP filename; - R_size_t threshold; + SEXP filename, ap; int append_mode; checkArity(op, args); - if (!isString(CAR(args)) || (LENGTH(CAR(args))) != 1) + + ap = args; + if (!isString(CAR(ap)) || (LENGTH(CAR(ap))) != 1) error(_("invalid '%s' argument"), "filename"); - append_mode = asLogical(CADR(args)); - filename = ST...
2023 May 16
1
xfer_sum_len type bug
...sum computations */ int file_sum_len, file_sum_extra_cnt; diff -Naur rsync-3.2.7.patch_orig/match.c rsync-3.2.7.patched/match.c --- rsync-3.2.7.patch_orig/match.c 2023-05-16 14:17:31.082521665 -0400 +++ rsync-3.2.7.patched/match.c 2023-05-16 15:36:46.781895867 -0400 @@ -32,7 +32,7 @@ extern int append_mode; extern struct name_num_item *xfer_sum_nni; -extern int xfer_sum_len; +extern size_t xfer_sum_len; int updating_basis_file; char sender_file_sum[MAX_DIGEST_LEN]; diff -Naur rsync-3.2.7.patch_orig/receiver.c rsync-3.2.7.patched/receiver.c --- rsync-3.2.7.patch_orig/receiver.c 2023-05-16 14:17...
2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
..., + {"in-place", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, {"no-inplace", 0, POPT_ARG_VAL, &inplace, 0, 0, 0 }, {"append", 0, POPT_ARG_NONE, 0, OPT_APPEND, 0, 0 }, {"append-verify", 0, POPT_ARG_VAL, &append_mode, 2, 0, 0 }, Thanks, Jan-Benedict -- -------------- next part -------------- A non-text attachment was scrubbed... Name: signature.asc Type: application/pgp-signature Size: 195 bytes Desc: not available URL: <http://lists.samba.org/pipermail/rsync/attachments/20190626/9f637af1/signature.sig...
2010 Jun 15
3
about rsyncing of block devices
...t;failed to open %s to determine size", fname); + else { + OFF_T off = lseek(fd, 0, SEEK_END); + if (off == (OFF_T) -1) + rsyserr(FERROR, errno, "failed to seek to end of %s to determine size", fname); + else { + sx.st.st_size = off; + } + close(fd); + } + } + if (append_mode > 0 && sx.st.st_size >= F_LENGTH(file)) { #ifdef SUPPORT_HARD_LINKS if (F_IS_HLINKED(file)) diff -pur rsync-3.0.7/options.c rsync-3.0.7.new/options.c --- rsync-3.0.7/options.c 2009-12-21 22:40:41.000000000 +0000 +++ rsync-3.0.7.new/options.c 2010-06-14 10:24:49.329958121 +0100 @@...
2015 Nov 28
0
[PATCH] ignore-non-existing-directory: add variant of ignore-non-existing
...index 3a4504f..6cafce6 100644 --- a/generator.c +++ b/generator.c @@ -57,6 +57,7 @@ extern int update_only; extern int human_readable; extern int ignore_existing; extern int ignore_non_existing; +extern int ignore_non_existing_dirs; extern int want_xattr_optim; extern int inplace; extern int append_mode; @@ -1323,22 +1324,28 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, return; } - if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) { + if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret...
2016 Jan 16
0
[PATCH v2, resend] ignore-non-existing-directory: add variant of ignore-non-existing
...index 3a4504f..6cafce6 100644 --- a/generator.c +++ b/generator.c @@ -57,6 +57,7 @@ extern int update_only; extern int human_readable; extern int ignore_existing; extern int ignore_non_existing; +extern int ignore_non_existing_dirs; extern int want_xattr_optim; extern int inplace; extern int append_mode; @@ -1323,22 +1324,28 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, return; } - if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) { + if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret...
2015 Nov 28
0
[PATCH v2] ignore-non-existing-directory: add variant of ignore-non-existing
...index 3a4504f..6cafce6 100644 --- a/generator.c +++ b/generator.c @@ -57,6 +57,7 @@ extern int update_only; extern int human_readable; extern int ignore_existing; extern int ignore_non_existing; +extern int ignore_non_existing_dirs; extern int want_xattr_optim; extern int inplace; extern int append_mode; @@ -1323,22 +1324,28 @@ static void recv_generator(char *fname, struct file_struct *file, int ndx, return; } - if (ignore_non_existing > 0 && statret == -1 && stat_errno == ENOENT) { + if ((ignore_non_existing > 0 || ignore_non_existing_dirs > 0) && statret...
2007 Sep 22
0
rsync build on IA64 using icc
...419: external declaration in primary source file extern int ignore_non_existing; ^ generator.c(58): remark #1419: external declaration in primary source file extern int inplace; ^ generator.c(59): remark #1419: external declaration in primary source file extern int append_mode; ^ generator.c(60): remark #1419: external declaration in primary source file extern int make_backups; ^ generator.c(61): remark #1419: external declaration in primary source file extern int csum_length; ^ generator.c(62): remark #1419: external declara...