search for: arginfo

Displaying 20 results from an estimated 22 matches for "arginfo".

Did you mean: ar_info
2014 Jan 10
1
samba 4.1.3 -- multiple bugs & 1, 297 coredumps -- coredump backtrace + full-backtrace included
...no_process_group = 208 log_stdout = <optimized out> ports = 0x0 profile_level = 0x0 opt = <optimized out> pc = <optimized out> print_build_options = 80 long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7f6cb3089400 <poptHelpOptions>, val = 0, descrip = 0x7f6cb5c4d1f2 "Help options:", argDescrip = 0x0}, { longName = 0x7f6cb5c4d200 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000,...
2020 Mar 03
6
Upgrade 4.9 -> 4.11 oups
Hello ! I decided to upgrade my fileservers from stretch/samba 4.9 to buster/samba 4.11 I just realized that smbd is not working anymore :-/ If someone has an idea It would be amazing... as an idiot, I upgraded my 20 servers.... without snapshot.... Thank you so much Here's some logs : root at ef113:~# tail /var/log/samba/log.smbd #1
2004 Feb 04
1
Signal 11 in smbd 3.0.2rc2 on printer operation!
...rocessing_time = 1075937457 num_smbs = 28 total_buffer_size = 132161 #24 0x08256fd7 in main (argc=2, argv=0xbffffe04) at smbd/server.c:887 is_daemon = 1 interactive = 0 Fork = 1 log_stdout = 0 ports = 0x0 opt = -1 pc = 0x82f3f38 long_options = {{longName = 0x0, shortName = 0 '\0', argInfo = 4, arg = 0x82dd25c, val = 0, descrip = 0x82d3ff3 "Help options", argDescrip = 0x0}, {longName = 0x82d4000 "daemon", shortName = 68 'D', argInfo = 7, arg = 0x82dd248, val = 1, descrip = 0x82d4007 "Become a daemon (default)", argDescrip = 0x...
2018 Jun 25
2
Samba 4.7.1 Generating Core Dumps
...SS> print_build_options = <optimized out> ---Type <return> to continue, or q <return> to quit--- main_server_id = {pid = 3226, task_id = 0, vnn = 4294967295, unique_id = 15388926496133788791} long_options = {{longName = 0x0, shortName = 0 '\000', argInfo = 4, arg = 0x7fc225472320 <poptHelpOptions>, val = 0, descrip = 0x55b48c670773 "Help options:", argDescrip = 0x0}, { longName = 0x55b48c670781 "daemon", shortName = 68 'D', argInfo = 0, arg = 0x0, val = 1000, descrip = 0x55b48c670788 "Become a daem...
2003 Nov 10
8
winbindd panic daemon dies
Hi All, can anyone make any sense of the error below, please advise if I need to log this as a bug but I'm not sure how to further diagnose what is happening. This is from my winbindd log file, thanks Andy. [2003/11/07 17:47:59, 1] nsswitch/winbindd.c:main(832) winbindd version 3.0.0 started. Copyright The Samba Team 2000-2003 [2003/11/07 17:48:00, 1]
2020 Feb 09
3
[draft PATCH] whitelist support for refuse options
...hive_whitelisted) { for (op = long_options; ; op++) { *shortname = op->shortName; if (!op->longName && !*shortname) break; - if ((op->longName && wildmatch(bp, op->longName)) - || (*shortname && wildmatch(bp, shortname))) { - if (op->argInfo == POPT_ARG_VAL) - op->argInfo = POPT_ARG_NONE; - op->val = (op - long_options) + OPT_REFUSED_BASE; - found_match = 1; - /* These flags are set to let us easily check - * an implied option later in the code. */ - switch (*shortname) { - case 'r': case 'd'...
2004 Feb 20
1
[patch] fix for "refuse options" ignored due to popt
...OPT_DELETE_AFTER, OPT_DELETE_EXCLUDED, OPT_LINK_DEST, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_MODIFY_WINDOW, - OPT_READ_BATCH, OPT_WRITE_BATCH}; + OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_CHECKSUM, OPT_COMPRESS}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -336,7 +336,7 @@ {"group", 'g', POPT_ARG_NONE, &preserve_gid, 0, 0, 0 }, {"devices", 'D', POPT_ARG_NONE, &preserve_devices, 0, 0, 0 }, {"times", 't', POPT_AR...
2002 Sep 10
0
[PATCH] Add --preserve-atime switch to rsync
...TE, OPT_BACKUP_DIR, OPT_IGNORE_ERRORS, OPT_BWLIMIT, OPT_BLOCKING_IO, OPT_NO_BLOCKING_IO, OPT_WHOLE_FILE, OPT_NO_WHOLE_FILE, ! OPT_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_IGNORE_EXISTING}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ --- 289,296 ---- OPT_DELETE_AFTER, OPT_EXISTING, OPT_MAX_DELETE, OPT_BACKUP_DIR, OPT_IGNORE_ERRORS, OPT_BWLIMIT, OPT_BLOCKING_IO, OPT_NO_BLOCKING_IO, OPT_WHOLE_FILE, OPT_NO_WHOLE_FILE, ! OPT_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_...
2013 Jun 03
1
Adding arguments to the options
...d an option for HTTPS in rsync code like '-v' for "--verbose". But now I want to make that option to take the arguments. For that in options.c file, I have added the entry in the array of structure as, > static struct poptOption long_options[] = { > /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ > {"xxxx", 'x', xxxxxxx, x, xxxxx, x, x}, > {"https", 'N', POPT_ARG_VAL, &https_port > _s > , 0, 0, 0}} So for getting the value of the argument of option in the https_port_s, I have just added one switch c...
2002 Oct 07
1
building problem with rsync up to 2.5.5
...all -W -c backup.c -o backup.o gcc -I. -I. -O3 -mcpu=i686 -march=i686 -DHAVE_CONFIG_H -Wall -W -c options.c -o options.o options.c:365: `POPT_ARG_VAL' undeclared here (not in a function) options.c:365: initializer element is not constant options.c:365: (near initialization for `long_options[69].argInfo') options.c:366: `POPT_ARG_VAL' undeclared here (not in a function) options.c:366: initializer element is not constant options.c:366: (near initialization for `long_options[70].argInfo') options.c: In function `parse_arguments': options.c:444: warning: passing arg 3 of `poptGetConte...
2009 Jul 27
2
[PATCH] Replace shell_quote function with %Q and %R printf specifiers.
...@@ -47,6 +48,10 @@ static void usage (void); int verbose = 0; +static int print_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args); +static int print_sysroot_shell_quote (FILE *stream, const struct printf_info *info, const void *const *args); +static int print_arginfo (const struct printf_info *info, size_t n, int *argtypes, int *size); + /* Location to mount root device. */ const char *sysroot = "/sysroot"; /* No trailing slash. */ int sysroot_len = 8; @@ -76,6 +81,10 @@ main (int argc, char *argv[]) uint32_t len; struct sigaction sa; + /*...
2002 Mar 08
1
[PATCH][RFC] space saving incrementals
...IO, OPT_NO_WHOLE_FILE, - OPT_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_IGNORE_EXISTING}; + OPT_MODIFY_WINDOW, OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_IGNORE_EXISTING, + OPT_COMPARE_PERMS, OPT_LINK_DEST}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -302,6 +308,7 @@ {"no-whole-file", 0, POPT_ARG_NONE, 0, OPT_NO_WHOLE_FILE}, {"copy-unsafe-links", 0, POPT_ARG_NONE, &copy_unsafe_links}, {"perms", 'p', POPT_ARG_NONE, &preserve_p...
2002 Jan 07
2
rsync-2.5.1 / popt patches
...poptOption *table) { const struct poptOption *opt; @@ -41,7 +42,7 @@ return NULL; } -/*@observer@*/ /*@null@*/ static const char *const +/*@observer@*/ /*@null@*/ static const char * getArgDescrip(const struct poptOption * opt, const char *translation_domain) { if (!(opt->argInfo & POPT_ARG_MASK)) return NULL; EAGLE> type lcl_popt:popt.gdiff --- ref_popt:popt.c Thu Mar 22 21:44:50 2001 +++ lcl_popt:popt.c Sun Jan 6 08:42:33 2002 @@ -1,3 +1,4 @@ +/* Converted by prj_src:unix_c_to_vms_c.tpu AND prj_popt:popt.tpu on 6-JAN-200 2 08:42:33.25 OPENVMS_AXP */...
2003 Sep 05
1
new option suggestion '--backup-only'
...UDE_FROM, OPT_DELETE_AFTER, OPT_DELETE_EXCLUDED, OPT_LINK_DEST, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_MODIFY_WINDOW, - OPT_READ_BATCH, OPT_WRITE_BATCH}; + OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_BACKUP_DIR}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -369,13 +371,14 @@ {"log-format", 0, POPT_ARG_STRING, &log_format, 0, 0, 0 }, {"bwlimit", 0, POPT_ARG_INT, &bwlimit, 0, 0, 0 }, {"address", 0, POPT_ARG_STRING, &bind_address, 0, 0...
2004 Apr 10
0
patches for copying atimes
...g)buf.st_nlink, - datebuf, fname, linkbuf); + mtimebuf, + display_atime ? atimebuf : "", + display_atime ? "" : " ", + fname, linkbuf); } +static struct poptOption long_options[] = { + /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ + {"atime", 'u', POPT_ARG_NONE, &display_atime, 0, 0, 0}, + {"help", 'h', POPT_ARG_NONE, 0, 'h', 0, 0} +}; + +static void tls_usage() +{ + fprintf (stderr, "usag...
2004 Feb 09
1
[patch] Add `--link-by-hash' option.
...E_FROM, OPT_DELETE_AFTER, OPT_DELETE_EXCLUDED, OPT_LINK_DEST, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_MODIFY_WINDOW, - OPT_READ_BATCH, OPT_WRITE_BATCH}; + OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_LINK_BY_HASH}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -353,6 +355,7 @@ {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 }, {"compare-dest", 0, POPT_ARG_STRING, &compare_dest, 0, 0, 0 }, {"link-dest", 0, POPT_ARG_STRING, 0,...
2004 Feb 17
0
[patch] Add `--link-by-hash' option (rev 3).
...E_FROM, OPT_DELETE_AFTER, OPT_DELETE_EXCLUDED, OPT_LINK_DEST, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_MODIFY_WINDOW, - OPT_READ_BATCH, OPT_WRITE_BATCH}; + OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_LINK_BY_HASH}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -359,6 +361,7 @@ {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 }, {"compare-dest", 0, POPT_ARG_STRING, &compare_dest, 0, 0, 0 }, {"link-dest", 0, POPT_ARG_STRING, 0,...
2004 Feb 16
1
[patch] Add `--link-by-hash' option (rev 2).
...E_FROM, OPT_DELETE_AFTER, OPT_DELETE_EXCLUDED, OPT_LINK_DEST, OPT_INCLUDE, OPT_INCLUDE_FROM, OPT_MODIFY_WINDOW, - OPT_READ_BATCH, OPT_WRITE_BATCH}; + OPT_READ_BATCH, OPT_WRITE_BATCH, OPT_LINK_BY_HASH}; static struct poptOption long_options[] = { /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ @@ -359,6 +361,7 @@ {"temp-dir", 'T', POPT_ARG_STRING, &tmpdir, 0, 0, 0 }, {"compare-dest", 0, POPT_ARG_STRING, &compare_dest, 0, 0, 0 }, {"link-dest", 0, POPT_ARG_STRING, 0,...
2003 Oct 08
2
2.5.6: a number of minor issues
...00:00 1970 +++ NEW/popt/popthelp.c Thu Jan 1 00:00:00 1970 @@ -23,6 +23,7 @@ /*@globals fileSystem@*/ /*@modifies fileSystem@*/ { +foo=foo; arg=arg; data=data; if (key->shortName == '?') poptPrintHelp(con, stdout, 0); else @@ -89,7 +90,7 @@ /*@*/ { if (!(opt->argInfo & POPT_ARG_MASK)) return NULL; - +translation_domain=translation_domain; if (opt == (poptHelpOptions + 1) || opt == (poptHelpOptions + 2)) if (opt->argDescrip) return POPT_(opt->argDescrip); @@ -123,6 +124,7 @@ char * le = malloc(4*lineLength + 1); char * l = le; +tra...
2004 Apr 20
1
improved atime patch
...g)buf.st_nlink, - datebuf, fname, linkbuf); + mtimebuf, + display_atime ? atimebuf : "", + display_atime ? "" : " ", + fname, linkbuf); } +static struct poptOption long_options[] = { + /* longName, shortName, argInfo, argPtr, value, descrip, argDesc */ + {"atime", 'u', POPT_ARG_NONE, &display_atime, 0, 0, 0}, + {"help", 'h', POPT_ARG_NONE, 0, 'h', 0, 0} +}; + +static void tls_usage() +{ + fprintf (stderr, "usag...