search for: poptbadoption

Displaying 5 results from an estimated 5 matches for "poptbadoption".

2002 Jan 08
2
rsync for NCR MP-RAS (SRV 4)
...ading symbols from /usr/lib/libresolv.so...done. Reading symbols from /usr/lib/libsocket.so...done. Reading symbols from /usr/lib/libnsl.so...done. Reading symbols from /usr/lib/libc.so.1...done. Program received signal 11, Segmentation fault Reading in symbols for popt/popt.c...done. 0x8051927 in poptBadOption (con=0x8b08c483, flags=1) at popt/popt.c:704 704 return os->argv[os->next - 1]; (gdb) run --version Starting program: /usr/local/bin/rsync --version rsync: --version: unknown option rsync error: syntax or usage error (code 1) at main.c(793) Program exited with code 01. (gdb) run --...
2004 Feb 20
1
[patch] fix for "refuse options" ignored due to popt
Hello, I found the reason why "refuse options" is ignored on the server side. When then 5th argument (int val) in the poptOption struct is set to zero, the parsing function poptGetNextOpt() just continues with the next arg, without returning. So check_refuse_options() is simply not called in such cases. The attached patch makes "refuse options" work with checksum and
2004 Apr 10
0
patches for copying atimes
...switch (opt) { + case 'h': + tls_usage(); + return 0; + default : + snprintf(err_buf, sizeof err_buf, + "%s: %s\n", + poptBadOption(pc, POPT_BADOPTION_NOALIAS), + poptStrerror(opt)); return 1; } - - for (argv++; *argv; argv++) { - list_file (*argv); } + extra_args = poptGetArgs(pc); + if (*extra_args == NULL) { + tls_usage(); + return 1; +...
2004 Apr 20
1
improved atime patch
...switch (opt) { + case 'h': + tls_usage(); + return 0; + default : + snprintf(err_buf, sizeof err_buf, + "%s: %s\n", + poptBadOption(pc, POPT_BADOPTION_NOALIAS), + poptStrerror(opt)); return 1; } - - for (argv++; *argv; argv++) { - list_file (*argv); } + extra_args = poptGetArgs(pc); + if (*extra_args == NULL) { + tls_usage(); + return 1; +...
2001 Aug 06
1
merge rsync+ into rsync (was Re: rsync-2.4.7 NEWS file)
> Just curious: what about the rsync+ patch? Thanks for the reminder. I've just committed Jos's rsync+ patch onto the "branch_mbp_rsyncplus_merge" branch. If it works OK and nobody screams I will move it across onto the main tree tomorrow or Wednesday. I see the patch doesn't add documentation about the new options to the man page, so we should fix that in the future.