search for: poptgetargs

Displaying 13 results from an estimated 13 matches for "poptgetargs".

Did you mean: poptgetarg
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
Vincent Le Toux <vincent.letoux at gmail.com> writes: > Typical example: > Here is some search & export for libsmbclient: > adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep > cli_rpc_pipe_open_noauth_transport > <nothing> > adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep > cli_rpc_pipe_open >
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
...armset == SIGALRM) { ^ ../lib/texpect/texpect.c:391:15: warning: assigning to 'char *const *' from 'const char **' discards qualifiers in nested pointer types [-Wincompatible-pointer-types-discards-qualifiers] program_args = poptGetArgs(pc); ^ ~~~~~~~~~~~~~~~ ../lib/texpect/texpect.c:430:22: error: variable has incomplete type 'struct sigaction' struct sigaction sa; ^ ../lib/texpect/texpect.c:430:12: note: forward decl...
2015 Feb 12
0
Trouble building 4.2rc4 on FreeBSD
...^ > ../lib/texpect/texpect.c:391:15: warning: assigning to 'char *const *' > from 'const char **' discards > qualifiers in nested pointer types > [-Wincompatible-pointer-types-discards-qualifiers] > program_args = poptGetArgs(pc); > ^ ~~~~~~~~~~~~~~~ > ../lib/texpect/texpect.c:430:22: error: variable has incomplete type > 'struct sigaction' > struct sigaction sa; > ^ > ../lib/texpect/texpec...
2022 Oct 19
0
[Announce] Samba 4.17.1 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.17 release series. Changes since 4.17.0 -------------------- o? Jeremy Allison <jra at samba.org> ?? * BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented ???? atomically. ?? * BUG 15174: smbXsrv_connection_shutdown_send result leaked. ?? * BUG 15182: Flush on a named
2022 Oct 19
0
[Announce] Samba 4.17.1 Available for Download
Release Announcements --------------------- This is the latest stable release of the Samba 4.17 release series. Changes since 4.17.0 -------------------- o? Jeremy Allison <jra at samba.org> ?? * BUG 14611: CVE-2021-20251 [SECURITY] Bad password count not incremented ???? atomically. ?? * BUG 15174: smbXsrv_connection_shutdown_send result leaked. ?? * BUG 15182: Flush on a named
2020 Oct 12
2
Lookup sid with libsmbclient (invoked from c# on mono)
Typical example: Here is some search & export for libsmbclient: adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open_noauth_transport <nothing> adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0 |grep cli_rpc_pipe_open U cli_rpc_pipe_open_noauth adiant at ubuntu:/usr/lib/x86_64-linux-gnu$ nm -D libsmbclient.so.0
2003 Mar 08
1
[patch] rsync over existing I/O connections (new feature)
...); + return 0; + } + if ((force_f_out == -1) && (force_f_in != -1)) { + snprintf(err_buf,sizeof(err_buf), + "fd-in can not be used without fd-out\n"); + rprintf(FERROR,"ERROR: fd-in can not be used without fd-out\n"); + return 0; + } + + *argv = poptGetArgs(pc); if (*argv) *argc = count_args(*argv);
2003 Sep 05
1
new option suggestion '--backup-only'
...daemon is specified, then errors for later @@ -644,6 +652,12 @@ if (do_progress && !verbose) verbose = 1; + if (backup_only && !backup_dir) { + rprintf(FERROR, + "--backup-dir must be specified with --backup-only\n"); + exit_cleanup(RERR_SYNTAX); + } + *argv = poptGetArgs(pc); if (*argv) *argc = count_args(*argv); @@ -879,6 +893,9 @@ args[ac++] = tmpdir; } + if (backup_only && am_sender) + args[ac++] = "--backup-only"; + if (compare_dest && am_sender) { /* the server only needs this option if it is not the sender, *...
2003 Nov 17
0
[PATCH] --source-filter && --dest-filter for rsync 2.5.6
...) && no_whole_file) { + snprintf(err_buf,sizeof(err_buf), + "no-whole-file can not be used with source-filter or dest-filter\n"); + rprintf(FERROR,"ERROR: no-whole-file can not be used with source-filter or dest-filter\n"); + return 0; + } + *argv = poptGetArgs(pc); if (*argv) *argc = count_args(*argv); @@ -784,6 +811,17 @@ if (delete_excluded) args[ac++] = "--delete-excluded"; + if (times_only) + args[ac++] = "--times-only"; + + if (dest_filter) { + static char buf[1000]; + /* have to single quote t...
2004 Apr 10
0
patches for copying atimes
...of 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; + } + for (; *extra_args; extra_args++) { + list_file (*extra_args); + } + poptFreeContext(pc); return 0; } Index: util.c =================================...
2004 Apr 20
1
improved atime patch
...of 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; + } + for (; *extra_args; extra_args++) { + list_file (*extra_args); + } + poptFreeContext(pc); return 0; } Index: util.c =================================...
2002 Feb 07
1
Latest version of the batch mode cleanup patch
...rite_batch || read_batch)) { + snprintf(err_buf,sizeof(err_buf), + "compress can not be used with write-batch or read-batch\n"); + rprintf(FERROR,"ERROR: compress can not be used with" + " write-batch or read-batch\n"); + return 0; + } + *argv = poptGetArgs(pc); if (*argv) *argc = count_args(*argv); @@ -561,8 +581,8 @@ static char mdelete[30]; static char mwindow[30]; static char bw[50]; - static char fext[20]; - static char wbatch[14]; + /* Leave room for ``--(write|read)-batch='' */ + static char fext[MAXPATHL...
2002 Aug 05
5
[patch] read-devices
...eserve_devices && read_devices) { + snprintf(err_buf,sizeof(err_buf), + "devices and read-devices can not be used together\n"); + rprintf(FERROR,"ERROR: devices and read-devices" + " can not be used together\n"); + return 0; + } + *argv = poptGetArgs(pc); if (*argv) *argc = count_args(*argv); else @@ -766,8 +777,16 @@ if (opt_ignore_existing && am_sender) args[ac++] = "--ignore-existing"; + if (read_devices) { + args[ac++] = "--read_devices"; + /* older versions will c...