Displaying 6 results from an estimated 6 matches for "argv_p".
Did you mean:
  argv_
  
2008 Feb 20
1
[PATCH] build fix without iconv support
...v_t)-1;
  		}
  	}
+#endif
  	if (!numeric_ids
  	 && (use_chroot ? lp_numeric_ids(i) != False : lp_numeric_ids(i) == True))
diff --git a/options.c b/options.c
index 7f69bd2..75ceeeb 100644
--- a/options.c
+++ b/options.c
@@ -1137,7 +1137,9 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
  			break;
  		case OPT_NO_ICONV:
+#ifdef ICONV_OPTION
  			iconv_opt = NULL;
+#endif
  			break;
  		case OPT_MAX_SIZE:
2020 Sep 27
1
strange crash with md5p8.diff + xxhash
...md5p8 md5 md4 none (", to_buf_len=to_buf_len at entry=256, dup_markup=dup_markup at entry=40 '(')
    at compat.c:478
#3  0x000000000043d717 in print_rsync_version (f=f at entry=FINFO) at usage.c:194
#4  0x000000000042fcee in parse_arguments (argc_p=argc_p at entry=0x7fffffffc0dc,
    argv_p=argv_p at entry=0x7fffffffc0d0) at options.c:1897
#5  0x0000000000404de1 in main (argc=<optimized out>, argv=<optimized out>)
    at main.c:1747
%%
Turns out the comment in rsync.h: (struct name_num_obj):
	struct name_num_item list[8]; /* A big-enough len (we'll get a compile erro...
2020 Feb 06
0
[PATCH] Add support for zstd compression
...3,6 +1173,7 @@ static void set_refuse_options(char *bp)
 					refused_archive_part = op->val;
 					break;
 				case 'z':
+				case 'Z':
 					refused_compress = op->val;
 					break;
 				case '\0':
@@ -1575,6 +1586,16 @@ int parse_arguments(int *argc_p, const char ***argv_p)
 			do_compression++;
 			break;
 
+		case 'Z':
+#ifdef HAVE_LIBZSTD
+			do_compression_zstd++;
+#else
+			snprintf(err_buf, sizeof err_buf, 
+				 "Support for zstd is not enabled.\n");
+			return 0;
+#endif
+			break;
+
 		case 'M':
 			arg = poptGetOptArg(pc);
 			if (...
2023 Jul 03
0
[PATCH] Add option --log-after to log after moving file into place
..._STRING, &stdout_format, 0, 0, 0 },
   {"log-format",       0,  POPT_ARG_STRING, &stdout_format, 0, 0, 0 }, /* DEPRECATED */
   {"itemize-changes", 'i', POPT_ARG_NONE,   0, 'i', 0, 0 },
@@ -2359,7 +2363,10 @@ int parse_arguments(int *argc_p, const char ***argv_p)
 
 	if (logfile_name && !am_daemon) {
 		if (!logfile_format) {
-			logfile_format = "%i %n%L";
+			if (log_after_transfer)
+				logfile_format = "%o %i %n%L";
+			else
+				logfile_format = "%i %n%L";
 			logfile_format_has_i = logfile_format_has_o_or_i = 1;...
2008 Mar 11
0
[PATCH] Comment an obscure bit of code that sets the --suffix-dels default.
---
?More work on backup-dir-dels...
 options.c |    5 +++++
 1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/options.c b/options.c
index 459ad58..ed21704 100644
--- a/options.c
+++ b/options.c
@@ -1479,6 +1479,11 @@ int parse_arguments(int *argc_p, const char ***argv_p, int frommain)
 			backup_suffix);
 		return 0;
 	}
+	/* --suffix-dels defaults to --suffix, or empty for a client given an
+	 * explicit --backup-dir-dels (just as --suffix defaults to empty when
+	 * a --backup-dir is given).  The second case does not apply to the
+	 * server for consistency with...
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.