Displaying 13 results from an estimated 13 matches for "poptgetarg".
2020 Oct 13
0
Lookup sid with libsmbclient (invoked from c# on mono)
...0x55591473b310, 0x5559133fd270, 0x7f3e4d985b11, 0) = 0x5559147328d0
20582 poptGetNextOpt(0x55591473b310, 0x5559133fd270, 30, 17) = 99
20582 poptGetNextOpt(0x55591473b310, 0x55591473bae0, 17, 0) = 0xffffffff
20582 poptGetArg(0x55591473b310, 0x55591474a120, 0x5559146fd010, 0) = 0x7ffff4a1108b
20582 poptGetArg(0x55591473b310, 0x55591474a120, 0, 1) = 0
20582 poptFreeContext(0x55591473b310, 0x55591474a120, 1, 1) = 0
205...
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 dec...
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/texpe...
2022 Oct 19
0
[Announce] Samba 4.17.1 Available for Download
...5201: memory leak on temporary of struct
imessaging_post_state and
???? struct tevent_immediate on struct imessaging_context (in
???? rpcd_spoolss and maybe others).
o? Noel Power <noel.power at suse.com>
?? * BUG 15205: Since popt1.19 various use after free errors using
result of
???? poptGetArg are now exposed.
o? Anoop C S <anoopcs at samba.org>
?? * BUG 15192: Remove special case for O_CREAT in SMB_VFS_OPENAT from
???? vfs_glusterfs.
o? Andreas Schneider <asn at samba.org>
?? * BUG 15169: GETPWSID in memory cache grows indefinetly with each
NTLM auth.
o? Joseph Sutton...
2022 Oct 19
0
[Announce] Samba 4.17.1 Available for Download
...5201: memory leak on temporary of struct
imessaging_post_state and
???? struct tevent_immediate on struct imessaging_context (in
???? rpcd_spoolss and maybe others).
o? Noel Power <noel.power at suse.com>
?? * BUG 15205: Since popt1.19 various use after free errors using
result of
???? poptGetArg are now exposed.
o? Anoop C S <anoopcs at samba.org>
?? * BUG 15192: Remove special case for O_CREAT in SMB_VFS_OPENAT from
???? vfs_glusterfs.
o? Andreas Schneider <asn at samba.org>
?? * BUG 15169: GETPWSID in memory cache grows indefinetly with each
NTLM auth.
o? Joseph Sutton...
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...
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[MAXPATH...
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...