Displaying 13 results from an estimated 13 matches for "newopts".
Did you mean:
newops
2010 Mar 18
3
problem of adding a new option of sshd
Dear all,
I want to add a new option "newoption" to the sshd server, I have just add some codes in servconf.h and
servconf.c like the other options. But it seems that the "newoption" can not be enable,when i set
the "newoption" to "yes" in sshd_config file. I have add a debug message in main function of sshd.c
....
debug("main sshd
2008 Jan 25
1
OpenSSH for OS/390
...rs that some of the debugging messages are coming from the parent thread and some from the child thread. All I can add is that the buffer "m" in mm_getpwnamallow() has alloc=32768, offset=52, end=10055 and also that buffer_get_string() returns len=7, which is rather different from sizeof(*newopts)=9988, indeed. I am really lost here and cannot figure out what is wrong.
Can anybody advise me on how to fix it or perhaps there is already a patch?
Thanks,
Eugene
_________________________________________________________________
Climb to the top of the charts!?Play the word scramble challenge w...
2007 Dec 20
1
Available environment variables
Hello,
I am trying to set my environment to streamline the downloading /
updating of packages. I have been through R-intro.html (10.8
Customizing-the-environment), R-FAQ (5.2 How can add-on packages be
installed?), rw-FAQ, and help pages for Sys.setenv {base},
download.packages {utils}, etc.,.
I am looking for something similar to the download.packages destdir
argument on a global environment
2007 Jul 10
6
Having trouble using data returned by Ajax.request
Hello everyone, I''m new here.
I''ve been working with prototype and plotr for about a month now, off
and on, and I have pretty much hit the wall on using the data returned
by Ajax.Request.
I''m using some php code to return a string:
{''foo'': [[0,0.0865334429075127], [1,0.0828179861705063],
[2,0.0828173042602942], [3,0.0841707718624196]]}
But I keep
2018 Aug 20
1
[PATCH] common/mltools: getopt: add Getopt.OptString
...newstring;
optstring[optstring_len++] = key[0];
- if (has_arg)
+ if (has_arg > 0) {
optstring[optstring_len++] = ':';
+ if (has_arg > 1)
+ optstring[optstring_len++] = ':';
+ }
} else {
struct option *newopts = realloc (longopts, (longopts_len + 1 + 1) * sizeof (*longopts));
if (newopts == NULL)
@@ -393,6 +400,17 @@ guestfs_int_mllib_getopt_parse (value argsv, value specsv, value anon_funv, valu
do_call1 (v, v2);
break;
+ case 8: /* OptString of string * (string option ->...
2005 Sep 06
4
url_for: :overwrite_params went missing
Somewhere between 0.13.1 and the current SVN version
the :overwrite_params option to url_for (and related methods) went
missing. I can''t tell whether this was deliberate or by mistake, and I
have no idea how to get the same functionality in some other way
either.
Michael
--
Michael Schuerig Life is what happens
2018 Aug 21
0
[PATCH 1/2] common/mltools: getopt: add Getopt.OptString
...newstring;
optstring[optstring_len++] = key[0];
- if (has_arg)
+ if (has_arg > 0) {
optstring[optstring_len++] = ':';
+ if (has_arg > 1)
+ optstring[optstring_len++] = ':';
+ }
} else {
struct option *newopts = realloc (longopts, (longopts_len + 1 + 1) * sizeof (*longopts));
if (newopts == NULL)
@@ -393,6 +400,17 @@ guestfs_int_mllib_getopt_parse (value argsv, value specsv, value anon_funv, valu
do_call1 (v, v2);
break;
+ case 8: /* OptString of string * (string option ->...
2018 Aug 21
4
[PATCH 0/2] RFC: add output selection for --machine-readable
Hi,
this is a first approach (hence RFC, since it misses tests &
documentation) in selecting the output for --machine-readable.
The possible choices are:
* --machine-readable: to stdout, like before
* --machine-readable=file:name-of-file: to the specified file
* --machine-readable=stream:stdout: explicitly to stdout
* --machine-readable=stream:stderr: explicitly to stderr
This makes it
2018 Aug 23
3
[PATCH v2 0/2] add output selection for --machine-readable
Hi,
this adds the possibility to select the output for --machine-readable
in OCaml tools.
The possible choices are:
* --machine-readable: to stdout, like before
* --machine-readable=file:name-of-file: to the specified file
* --machine-readable=stream:stdout: explicitly to stdout
* --machine-readable=stream:stderr: explicitly to stderr
This makes it possible to add additional output for
2016 Jun 24
2
[PATCH] RFC: OCaml tools: add and use a Getopt module
...optstring_len + 1 + has_arg + 1);
+ if (newstring == NULL)
+ caml_raise_out_of_memory ();
+ optstring = newstring;
+ optstring[optstring_len++] = key[0];
+ if (has_arg)
+ optstring[optstring_len++] = ':';
+ } else {
+ struct option *newopts = realloc (longopts, (longopts_len + 1 + 1) * sizeof (*longopts));
+ if (newopts == NULL)
+ caml_raise_out_of_memory ();
+ longopts = newopts;
+ longopts[longopts_len].name = key;
+ longopts[longopts_len].has_arg = has_arg;
+ longopts[longopts_len].flag =...
2016 Jul 11
2
[PATCH v2] OCaml tools: add and use a Getopt module
...optstring_len + 1 + has_arg + 1);
+ if (newstring == NULL)
+ caml_raise_out_of_memory ();
+ optstring = newstring;
+ optstring[optstring_len++] = key[0];
+ if (has_arg)
+ optstring[optstring_len++] = ':';
+ } else {
+ struct option *newopts = realloc (longopts, (longopts_len + 1 + 1) * sizeof (*longopts));
+ if (newopts == NULL)
+ caml_raise_out_of_memory ();
+ longopts = newopts;
+ longopts[longopts_len].name = strdup (key);
+ if (longopts[longopts_len].name == NULL)
+ caml_raise_out_of_m...
2016 Jul 13
3
[PATCH v3 1/2] OCaml tools: add and use a Getopt module
...optstring_len + 1 + has_arg + 1);
+ if (newstring == NULL)
+ caml_raise_out_of_memory ();
+ optstring = newstring;
+ optstring[optstring_len++] = key[0];
+ if (has_arg)
+ optstring[optstring_len++] = ':';
+ } else {
+ struct option *newopts = realloc (longopts, (longopts_len + 1 + 1) * sizeof (*longopts));
+ if (newopts == NULL)
+ caml_raise_out_of_memory ();
+ longopts = newopts;
+ longopts[longopts_len].name = strdup (key);
+ if (longopts[longopts_len].name == NULL)
+ caml_raise_out_of_m...
2016 Jun 27
0
Re: [PATCH] RFC: OCaml tools: add and use a Getopt module
...not convinced that this function is safe against OCaml GC compaction.
In particular there are problems such as:
...
> + for (j = 0; j < len; ++j) {
> + const char *key = String_val (Field (keysv, j));
key now points to a string on the OCaml heap, and then ...
> + if (newopts == NULL)
> + caml_raise_out_of_memory ();
> + longopts = newopts;
> + longopts[longopts_len].name = key;
the same pointer is copied to longopts, but ...
> + case 0: /* Unit of (unit -> unit) */
> + do_call1 (Field (actionv, 0), Val_unit);
At this...