search for: frommain

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

2008 Feb 20
1
[PATCH] build fix without iconv support
...} } +#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:
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 server_option...
2006 May 13
2
using -v and -q together
...39;: + if (quiet) { + snprintf(err_buff, sizeof(err_buf), + "dont use -v and -q\n"); + return 0; + } verbose++; @@ case 'q': + if (verbose) { + snprintf(err_buff, sizeof(err_buf), + "dont use -v and -q\n"); + return 0; + } if (frommain) side note ... the cvs version of rsync is even a little more quirky ... it outputs 'building file list ...' if -v regardless of -q, but only outputs the 'done' if -v and not -q ... -mike
2006 Jan 06
2
DO NOT REPLY [Bug 3382] New: hang in read() in exclude.test of testsuite
...r symbol fname at the current PC <no value>, mflags=1024, xflags=1) "exclude.c":999 #4 0x120023140 in parse_rule(listp=0x140000010, pattern=0x14000e3e7="", mflags=0, xflags=0) "exclude.c":938 #5 0x120031140 in parse_arguments(argc=0x11fffbfd8, argv=0x11fffbfd0, frommain=1) "options.c":749 #6 0x12002a878 in main(argc=9, argv=0x11fffc018) "main.c":1104 #7 0x1200187b8 in __start(...) in rsync (ladebug) up >1 0x3ff80177b20 in __read_nc(...) in /usr/shlib/libc.so (ladebug) up >2 0x3ff800da6d4 in __filbuf(...) in /usr/shlib/libc.so (ladebu...
2003 Apr 08
2
[Patch] Require extra --stats to emit heap statistics
...ot;progress", 0, POPT_ARG_NONE, &do_progress , 0, 0, 0 }, {"partial", 0, POPT_ARG_NONE, &keep_partial , 0, 0, 0 }, {"ignore-errors", 0, POPT_ARG_NONE, &ignore_errors , 0, 0, 0 }, @@ -555,6 +555,10 @@ if (frommain) quiet++; break; + case OPT_STATS: + do_stats++; + break; + case 'a': recurse=1; #if SUPPORT_LINKS --- main.c.orig Mon Jan 27 21:05:53 2003 +++ main.c Fri Apr...
2002 Aug 05
5
[patch] read-devices
...char *argv[]); -void match_sums(int f,struct sum_struct *s,struct map_struct *buf,OFF_T len); +void match_sums(int f,struct sum_struct *s,struct map_struct *buf); void match_report(void); void usage(enum logcode F); void option_error(void); int parse_arguments(int *argc, const char ***argv, int frommain); @@ -216,9 +216,9 @@ void *do_mmap(void *start, int len, int prot, int flags, int fd, OFF_T offset); char *d_name(struct dirent *di); int main (int argc, char *argv[]); void set_compression(char *fname); -void send_token(int f,int token,struct map_struct *buf,OFF_T offset, +int send_token(int...