search for: run_error

Displaying 4 results from an estimated 4 matches for "run_error".

Did you mean: out_error
2014 Dec 02
1
Re: [PATCH v2] fish: show synopsis if command syntax is wrong
...ot;/* Valid suffixes allowed for numbers. See Gnulib xstrtol function. */\n"; > pr "static const char *xstrtol_suffixes = \"0kKMGTPEZY\";\n"; > pr "\n"; > + pr "/* Return these errors from run_* functions. */\n"; > + pr "#define RUN_ERROR -1\n"; > + pr "#define RUN_WRONG_ARGS -2\n"; > + pr "\n"; > > List.iter ( > fun { name = name } -> > @@ -129,6 +133,7 @@ let generate_fish_cmds () = > pr "struct command_entry %s_cmd_entry = {\n" name; > pr &quo...
2014 Dec 01
2
[PATCH v2] fish: show synopsis if command syntax is wrong
This patch lets guestfish show command synopsis if the syntax of command issued by user is wrong, rather than telling user that the number of parameters is wrong. Signed-off-by: Hu Tao <hutao@cn.fujitsu.com> --- changes in v2: - fix the error of ' error: control reaches end of non-void function [-Werror=return-type]' - change the return value from -2 to -1 fish/cmds-gperf.h |
2016 Sep 02
6
[PATCH 0/4] generator: Some work to split large C files
By splitting up large C files we can make parallel compiles a bit faster. Rich.
2016 Jul 22
1
[PATCH] static const char *str -> static const char str
...tion. */\n"; - pr "static const char *xstrtol_suffixes = \"0kKMGTPEZY\";\n"; + pr "static const char xstrtol_suffixes[] = \"0kKMGTPEZY\";\n"; pr "\n"; pr "/* Return these errors from run_* functions. */\n"; pr "#define RUN_ERROR -1\n"; diff --git a/inspector/inspector.c b/inspector/inspector.c index d8e455e..4c027df 100644 --- a/inspector/inspector.c +++ b/inspector/inspector.c @@ -105,7 +105,7 @@ main (int argc, char *argv[]) enum { HELP_OPTION = CHAR_MAX + 1 }; - static const char *options = "a:c:d:vVx&...