search for: opt_append

Displaying 2 results from an estimated 2 matches for "opt_append".

2019 Jun 26
2
Allow "--in-place" as an alternative option name for "--inplace"
..., {"inplace", 0, POPT_ARG_VAL, &inplace, 1, 0, 0 }, + {"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: <h...
2008 Mar 23
1
[PATCH] allow to change the block size used to handle sparse files
...", 'U', POPT_ARG_LONG, &sparse_files_block_size, 0, 0, 0 }, {"inplace", 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 }, @@ -1875,6 +1878,12 @@ void server_options(char **args, int *argc_p) args[ac++] = arg; } + if (sparse_files_block_size) { + if (asprintf(&arg, "-U%lu", sparse_files_block_size) < 0) + goto oom; + args[ac++] = arg; + } + if (io_timeout) { if (asprintf(&a...